LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Omega USB-DIO96 Read Byte

Hi All
I have a small problem I hope someone can help me with. I am using the Omega USB-DIO 96 and writing to the ouput ports successfully using labview.
Now I have come to reading from the input ports using the same labview 'call library function node' however all I ever get on the returned data is ' 0'.
The API return code is ' 0' indicating a successful read but the displayed data is incorrect.(I can read the correct data with the supplied SeaIO VC test function software)
I have checked all the obvious things (ports configured as outputs, correct card number, correct port and addressing mode) but cannot see where the problem lies and am now stumped.
It would be much appreciated if someone could please take a minute to look at the attached vi and see if they can spot where the fault lies.
 
Thanks
IanR
0 Kudos
Message 1 of 2
(2,540 Views)
Hi Ian,

Without the hardware this is going to be hard to comment on. Maybe it's an issue with the DLL, but then you say it works with some other software (SeaIO VC ) which is strange. What is this software and is there any chance that it carries out some configuration steps which have been omitted from your LabVIEW code? For example, do you need to configure more options before reading the data back?

I would strongly recommend reading through the documentation of the Hardware/DLL just in case you've missed something. I'll be honest and say that I really don't think that this is a problem with LabVIEW, maybe it's just the way the DLL is being configured/called.

Sorry I can't help you with this one 😞

Stuart
0 Kudos
Message 2 of 2
(2,515 Views)