11-30-2011 12:09 PM
Hi Dennis,
Thanks.
Is it possible for you to downconvert the attached file?
The Downconvert Requests didn't reply me!
12-05-2011 05:17 PM
I'm trying to import Omega.USB DLL file but I need a header (.h) file as well which is missing in the labview driver package. How can I get access to that file?
12-05-2011 05:25 PM
What kind of import are you doing? Why do you need a .h file?
12-05-2011 05:34 PM
I'm trying to use tools/import/shared library (.dll)... I'm on the right track?
12-05-2011 07:56 PM
12-05-2011 08:06 PM
well it requires me to first import the Omega.USB DLL file. Is it just copying of this file into a folder or there is an specific process?
Also there 9 different errors in the error list of downconverted VI. Mostly related to Invoke node and Property node. I wonder if it's happening because of downconverting or not?
12-06-2011 02:55 PM - edited 12-06-2011 02:55 PM
Hello EBMec,
The Instructions.txt file from the driver says this:
- To use the drivers in your custom application, you will need to: - Copy _all_ the *.dll files from the "Drivers" directory into your project. - Use the "Constructor Node" in the .Net panel under "Connectivity" functions menu to construct a reference to the .Net DLL. - Invoke node methods and properties to access the PX409USB device.
If you create a project and add the "Omega.USB.LabView.vi" to the project along with the "Omega.USB.dll" file and the "FTD2XX_NET.dll" file, then you should be able to open Omega.USB.LabView.vi, which shows how to use the driver.
12-06-2011 06:13 PM
Hi Colden R,
Thanks for your responses.
After I open the "Omega.USB.LabView.vi" it gives several errors like the following:
Invoke Node: Invalid method
The method selected in the invoke node is invalid or no method has been selected. Right-click the invoke node and select a method.
I get these errors either by opening the vi file directly or adding the vi and dll files in a new project. Your views?
12-07-2011 01:12 PM
Hello EBMec,
What do the invoke nodes look like when you open up the VI? When I open the VI I see a PX409.GetConnectedDevices invoke node, a List 1[[Omega.USB.PX409, (etc).ToArray invoke node, and a PX409.GetCurrentPressureReading invoke node. Also, what are the other errors you are getting?
It's possible that you don't have the correct version of the windows .NET framework installed. You need at least 2.0 SP 2, according to the PDF here:
ftp://ftp.omega.com/public/DASGroup/products/PX409-USB/
You could try installing a newer version of .NET, and you could also try installing "TRHC_1.3.11.0927_Full_Setup.zip" from that link above.
To check and see what version of .NET you have, go to your list of installed programs (control panel --> add or remove programs in XP, Programs and Features in Windows 7). You can look through there to see what version of .NET you have, and if you're in Windows 7 you can click "View installed updates" at the top left and find the .NET framework details there.
12-07-2011 01:19 PM
Even without the project, you should be able to right click on the constructor node, click 'Select Constructor', and browse to where you installed the .dll.