01-11-2006 04:28 PM
01-12-2006 02:19 AM
01-12-2006 08:10 AM
One of the problems is that I don't have experience in LabView, so I wanted to write the RS232 communication into VB using just the serialport communication methods is system.io.ports.
I have a RS232 motion controller that I can test RS232 communications with using Hyperterminal. I can type commands and recieve status. I thought I could do the same with the FP-1000. For example, I thought I could just go into Hyperterminal, configure the connection and type '>00!A'. I am not sure if that is the correct syntax for optomux, but yes, use optomux commands just to test syntax and response. This works fine with one controller (not NI), but I can't get this to work with the FP-1000.
01-12-2006 08:34 AM
01-13-2006 10:37 AM
I am testing with an FP-1000 and a single I/O module and seeing great results with Optomux commands in Hyperterminal.
My testing setup consists of an FP-1000 and an FP-TC-120. Any I/O module should work properly with the same procedure. I connect to the 232 port of my PC via a straight-through RS-232 cable and configure the FP-1000 for 115200 baud by positioning all three "baud" switches in the UP position.
When you type on the screen you will not see the commands you are sending to the module; only its responses will be seen. The first step to initialize the module at address 1 is to type ">01A??" and press Enter. This will run a Power Up Clear for the module and will allow it to respond properly to Optomux commands.
The next logical step is to query the controller for all connected devices. As mentioned in the article you have seen, that command is ">00!B??" and press Enter. At this point a string will be returned with all the module identification numbers. The numbers returned should be consistent with the listing that begins on page 5-2 of the FP-1000 programmer's manual ( http://digital.ni.com/manuals.nsf/websearch/ee241c7357d3f8ce862567840072f554?OpenDocument ).
A few things to check- make sure you're using a straight-through cable and not a null modem or crossover cable. Also make sure that you are typing the leading ">" character and that you are typing relatively quickly; I'm not completely unconvinced that your Hyperterminal communications are just timing out in the middle of your commands.
Hopefully this helps-
01-15-2006 08:02 PM
05-20-2021 01:36 PM
Does this example still exist?
Seems like the link is broken in 2021.