LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

device works fine with MAx but not with Labview visa serial

Solved!
Go to solution
I have a Monarch rpm sensor hooked up to Monarch tachometer , it gives error while coding in labview and works fine in Max if the sensor doesn't read 0. I have written simple RS-232 programs never had an error but this one is giving errors ..not ablt to fix it..please help
0 Kudos
Message 1 of 5
(3,062 Views)
Well, what sort of errors it is giving? And, be sure to post a snapshot of your block diagram.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 5
(3,059 Views)
whenever the reading is zero it gives an error and if there is any other value it works fine ... 
0 Kudos
Message 3 of 5
(3,012 Views)

No device can actually measure a speed of zero.  It can only specify that the speed is less than some minimum, which depends on how long you are willing to wait for an answer.

 

I do not know anything about your instrument, but I would guess that you are getting an error which is the equivalent of "The instrument has waited the maximum permissible amount of time and did not detect any measurable motion."  This is the instrument's way of saying that the speed may be zero, or very slow, or something is broken so that it cannot make a measurement but it cannot detect the problem.

 

Look at the manual for you instrument to see how it responds to the zero speed condition.  This error may be normal.  If so, you need to capture the particular error code and handle it however you think is appropriate.

 

Lynn 

0 Kudos
Message 4 of 5
(3,008 Views)
Solution
Accepted by sa428

Hi,

i solved it by using bytes at port if there is anything at the port i read it otherwise it says simply no reading.

0 Kudos
Message 5 of 5
(2,909 Views)