Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

FID testa (Hydrocarbons emission measuring instrument)

$
0
0

Hi guys,

I am new to labview.I have an instrument called FID tester that is connected to the wiring box (PCLD-780) which is in turn connected to labview. The instrument gives both digital and analog signals, now I am doing the digital part, since I have just switched on the instrument and no values are getting, I have used a 10cm wire to close the circuit, just to get the signal.

Now I have an already prepared vi by someone where it is made to read 1st 4 digits (for some other instrument), but now I want to modify that vi to this instrument (FID) and to do so I want to read last 5 digits which means in total 9 bits! As you can see from the vi that it was used DIOReadPortByte to read the signal and so it means the maximum capacity to read is 8 bits and to read 9th bit I should use something else so I am using DIOReadPortWord, but when I use that I am getting an error saying Function not supported, Kindly please help me out of this since it is an old software and nothing is working!!!

Its just I want to read last 5 digits and while testing I will set a knob to each measurement range and see that Bit 4, 5, 6, 7 are working properly(meaning if I set to measurement range 1 then bit 4 glows, if I set to range 2 then bit 5 etc) but when I see that bit 8 glows everytime(coz its not reading at all)

1st attachment is of byte(the original one) and the second is wat i changed to word where i get the error!

 

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>