02-23-2012 03:02 AM
Hi i am very new to labview, i am using an old v 6.1. I developed a small application that reads the weight from couple of rs-232 scales, well it is good as it runs on the machine where labview is installed, nothing matters if it runs as vi or builded exe, trouble comes out when i build an installer. After installed the application on other machine (that's the one need this application), all functions great except a couple of vi, exactly the ones my application is dependent. This mean that i can't select any source on i/o, label is grayed, i write the data on txt file and also thi function doesn't work. During build process i've added both visa configure and open create replace vis as dynamically loaded, tried with support, but nothing.
Where i am wrong? Thanks to support.
02-23-2012 03:12 AM
IYou need to install the NI VISA library on the computer where you install your EXE. (it's about 130MB you can download from ni website)
this is the link :
You can also compile it along in your installer... but I am not sure about LV6...
David.
02-23-2012 03:20 AM
...your STOP button does not work because you have an endless upper While Loop...
Move your event case to the IDLE loop in your lower button.
+ Before reading bytes from you VISA source you should check if there are any bytes available with a property-node!
Have fun!
David.
02-23-2012 03:37 AM - edited 02-23-2012 03:39 AM
Thanks to fast support and for good suggestion, about stopo button it works but needs to be long pressed, itry to change it as you said (if i have clearly understand your reply). I would make a try about visa. About check if there is any byte: i provided no check because scale output constant data at rate of 200ms.
Thx.