Hi.
I'd like to know how to control a smart using labview by de serial port. If one of all you have been working this way, please help me. I'd like how to conect and everithing.
I'll wait for your ansmwer.
You have two choices with Labview.
1. You can load our IntegMotorInterface.dll into labview and call routines from the .dll
2. You can use a Generic ASCII driver in Labview to send commands such as...
EIGN(W,0)
ZS
MP
VT=100000
ADT=100
PT=2000
G
Hi, thanks for the answer.
Now, i have another dude. How can i load the IntegMotorInterface.dll into labview?
Thanks for your time!!
Attached is a link from National Instruments....
http://digital.ni.com/public.nsf/allkb/DCB90714981A1F148625731E00797C33
OK, i really thank you. However, there is a trouble, the tuto isn't very clear. I wasn't be able to load de *.dll. And lets supose that i do it. Then what's next? As you can see i am new in this and i am learning by myself, so please if is posible put a link where i can find all the information and if there is a link in spanish would be better.
Once thanks for your time.
when you say using generic ascii to communicate you mean the Write Visa? I tried doing so, and it gives me an error.
as far as loading the dll, I went to Tools>Import>Shared Libarary
it opens a window that has only one option enabled (create VIs for a shared library)
when I click on Next it asks for the .dll and .h file
I found the dll file in windows/system32 and the3 h file in programfiles/animatics/
i tried UseEngineDlg.h and SMIDefs.h
for both of the h files when i click Next twice i get an error:
The shared library contains 4 function(s). But no function is found and recognized in the header file
DllCanUploadNow
DllGetClassObject
DllRegisterServer
Dllunregisterserver
any help?
I am sorry to say I don't have a copy of Labview to test this for you.
When the Animatics SMI2 software is installed, it creates a subdirectory under Program Files.
The path on my system is Program Files.. Animatics.. SMIEngine... Samples.
In the sample subdirectory, I have IntegMotorInterface.h and IntegMotorInterface.tlb. The IntegMotorInterface.dll will have been installed in your Windows... Systems subdirectories.
I would suggest using those when LabView asks for the .dll and the .h files.
Were you able to successfully import the .dll & .h files?
If so, which did you use and exactly how did you do it?
Please help.
I have tried this last suggestion but I get the same results as klimovitsky. Any other suggestions?