That did the trick. Thanks. Following is the code we now have for a simple example to communicate with the LabJack UE9 with PureBasic:
;
;Simple PureBasic example for the LabJack UE9.
;support@labjack.com
;Jul 31, 2006
;
OpenConsole()
ConsoleTitle ("LabJackUD PureBasic Example ...
Search found 5 matches
- Tue Aug 01, 2006 6:32 am
- Forum: Coding Questions
- Topic: Calling DLL Functions (Interfacing with LabJack Drivers)
- Replies: 8
- Views: 2941
- Tue Aug 01, 2006 12:26 am
- Forum: Coding Questions
- Topic: Calling DLL Functions (Interfacing with LabJack Drivers)
- Replies: 8
- Views: 2941
- Mon Jul 31, 2006 11:17 pm
- Forum: Coding Questions
- Topic: Calling DLL Functions (Interfacing with LabJack Drivers)
- Replies: 8
- Views: 2941
Same error. The revised code is below. If anyone wants to try it themselves run the UD installer from the U3 or UE9 downloads page at labjack.com. This puts labjackud.dll in the system directory and puts the header file in the install directory. The OpenLabJack function should return errorcode=1007 ...
- Mon Jul 31, 2006 8:52 pm
- Forum: Coding Questions
- Topic: Calling DLL Functions (Interfacing with LabJack Drivers)
- Replies: 8
- Views: 2941
- Mon Jul 31, 2006 8:06 pm
- Forum: Coding Questions
- Topic: Calling DLL Functions (Interfacing with LabJack Drivers)
- Replies: 8
- Views: 2941
Calling DLL Functions (Interfacing with LabJack Drivers)
I am trying to call some driver functions for a LabJack UE9 USB/Ethernet data acquisition device. So far I have been successful with the simple GetDriverVersion function, but when I try to call OpenLabJack I get "[ERROR] Invalid memory address". Probably something wrong with the string parameter or ...