10-27-2009 02:10 PM
Hi I am dealing with a project to control NSI scanner planar, the interface is going be serial using DB25 port,PM341UNIT and limit switch.
I've no ideas about how to start. please i need support.
Solved! Go to Solution.
10-27-2009 03:05 PM
1. Read the manual for your 341 driver, especially the RS-232 section and programming commands.
2. Connect up the hardware, connect to the serial port and confugure and use Hyperterminal to send commands as a test.
3. Then in LabVIEW, search examples for Basic Serial read and Write.vi to send commands and read data back.
-AK2DM
11-25-2009 11:36 AM
I have written a basic serial communication code on VI; connected the hardware which are the PM341 VIA RS232 cable connect to PC SERIAL PORT AND OTHER END CONNECT TO PARALLEL PORT ON PM341. The driver (PM341) connected to motor 1& motor2. Then I send a simple commands on labview based on the PM341 manual, but it doesnot read back, but when I send the command on hyper terminal it read back the command and as well move the motors to sometimes.
I also did some troubleshooting by connecting transmitter and receiver together on female serial port, then I send a command on Labview it read back the command and as well show the byte styring word which I send. so I dont know why is not working the RS232 cable which I connected to the Pm341 machine (driver).
Please you can as well check the attached code below if there is anything wrong with the code.
thanks
11-25-2009 01:46 PM
All that you have done is attach the example program that comes with LabVIEW. You haven't written anything as far as I can tell. No one has any idea what commands you are actually sending, what format you are sending them in, or what command you are supposed to be sending. Enter a command and then go to the Edit menu and select 'Make current values default'. Save the VI and then post that. Attach the manual as well. My guess is that you are not sending a command with a proper termination character.
The loopback test does nothing to confirm that the commands you are using are correct, that you have the correct cable, or that you have the correct com settings. At least you used Hyperterminal to confirm the cable and com settings.
11-26-2009 05:55 AM
11-26-2009 08:25 AM
11-30-2009 07:19 AM
i got no 8.6 version
cheers
11-30-2009 07:30 AM
awans wrote:i got no 8.6 version
You should open the file you want to convert. Click on file menu, then select Save for previous version. Then choose the one you need to downconvert.
I did it for you this time.
11-30-2009 09:30 AM
11-30-2009 02:06 PM