LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

COM Ports not reading after build (VISA included in build)

I solved the main problem: With the original instrument, the output would be "0.012e+0 Off" (always #.###e+0). In my naivety, I simply took the first 5 bytes of the reading, giving me "0.012", which is what I wanted. However, this is not very flexible code.

 

Then on the runtime computer, performing the same action gave "0.000" on my front panel, so I thought it was not connecting correctly. Using Hyperterminal (because VISA Test Panel doesn't work) gave "Off 0.012e+0". The second instrument on the runtime computer gave an even more different output of "            T +0.02".

 

Needless to say, I'm using regular expressions now…

 


 

However, I'd still like to know if VISA Test Panels can be used on Runtime Environments…

0 Kudos
Message 11 of 11
(197 Views)