plazzTT Posted January 10, 2007 Report Share Posted January 10, 2007 Hi, I've been using HyperTerminal up until now to read data off a Serial Port. (COM4, it's with a Bluetooth Serial Port Service) I'm trying to use LabView instead to do this now, just read data off the serial port and output it to a textbox (for now). I've read a few of the threads here about it, and I have a question about how to specify the "VISA Resource Name" in the VISA Configure Serial Port function. When I create a constant off it, it makes a dropdown box, but there is nothing in it, only "Refresh". Should there be a list appearing here? I've attached a picture. I've manually typed in COM4 now, is this correct? I get an error when I run the VI shown below. The error source is "Property Node in VISA Configure Serial Port (Instr).vi->serial.vi" Any pointers would be great. Thanks, John. Quote Link to comment
Yair Posted January 10, 2007 Report Share Posted January 10, 2007 You can control the list of COM ports and their aliases through MAX. You can also do it by editing the visaconf.ini file. Another option is to use ASRL::INSTR4 as the name of the port, which will probably work. Quote Link to comment
James N Posted January 10, 2007 Report Share Posted January 10, 2007 Check your MAX to ensure NI-VISA is installed. It pretty much needs to show up in MAX as a Serial & Parallel device. For a deployed executables, check out: http://digital.ni.com/softlib.nsf/websearc...625709F005BAB77 -James Quote Link to comment
Val Brown Posted January 10, 2007 Report Share Posted January 10, 2007 For a deployed executables, check out: http://digital.ni.com/softlib.nsf/websearc...625709F005BAB77 -James Is that actually the latest NI-VISA RTE? I believe I have a v4.0 in use in my deployed software. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.