Asked — Edited

Visual C Sharp Is Stuck

I cannot get the EZB_Connect to work. When I drag the EZB_Connect into the form and then run the program it just get stuck. Visual C# 2010 Express just hangs, nothing comes up.

Hoping For answer.

  • Egil

ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

United Kingdom
#9  

I get the same errors.

I once got the Omnibot examles in the SDK to run many releases ago but have had no luck for awhile now.

However the ARC platform is becoming a whole language of its own and requires some thinking about as it offers so much versatilaty

PRO
Synthiam
#10  

I can't imagine what the difference between our systems are. Have you tried setting the project to use .Net 3.5?

United Kingdom
#11  

Yep tried that

confused

#12  

Yes I have set it to use 3.5 and then when it ask me to save the project it just hangs again.

EDIT: Wow, 39 secs after your post !

#13  

I haven't had a chance to try the last few builds - been focusing mostly on hardware. I'll update and fire it up tomorrow to see what happens for me...

#14  

Just downloaded and configured the latest SDK. Thus far I haven't experienced any errors loading the projects...

This is the process I use to get the SDK running on my systems:

(1) Add the following references to all projects: EZ-B.dll DirectX.dll DirectX.DirectInput.dll

(2) Select Clean Solution from the Build menu

(3) Select Rebuild Solution from the Build menu

Also, I have a fairly large number of development platforms, frameworks and SDKs installed on my systems for work-related projects and everything was working prior to adding the EZ-B goodies. I'm wondering if something is missing from the systems experiencing errors?

Note: I add the DirectX references to get rid of the unmanaged code debug warnings. SlimDX please? ;)

PRO
Synthiam
#15  

I considered slimdx, but the performance is limited due to the abstraction layer for interop calls. I also would have to take a peak at their licensing for distribution.

#16  

Hi im new to Visual C#, and this EZ-B platform. Im stuck in trying to run any of the sample code. not sure what to look for?

I have visual studio C# 2010, on win7. Using "Test - Servo"

  1. Ez-B board is powered on. ARC is closed.
  2. double click "Test - Servo.csproj" , the program converts it to the VS C# 2010 format.
  3. I've add references to EZ-B.dll, DirectX.dll, DirectX.DirectInput.dll, from the projects/Addreferences/browse area. 4)clicked "build>Build solution", no errors, no warnings.

now what do i do to run this code?

I double-clicked /C#/Test - Servo/bin/Release/Test - Servo.vshost.exe and nothing happened. am i suppose to have ARC running in the background? i looked around "Form1.cs" "form1.Designer.cs" "program.cs" and i did not modify anything.