From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-11-2010 11:41 AM
I want to use Labview to control LANG MCL-2 stepping-motor controller for a microscope (product link: http://www.lang.de/index.php?id=44). A usb to serial adaptor us used to connect the controller to the computer. I did a loopback test using the Basic Serial Write and Read.vi example and the "read string" match "string to write". However, when the controller was connected, the bytes read was 0.
To make sure the controller function properly, I tested it using the software provided by the vendor. There is no problem to control it. Unfortunately, the software is a bit old and not compatible with windows xp.
I am new to Labview and any advice will be really appreciated.
06-11-2010 12:14 PM
06-15-2010 04:27 AM
06-15-2010 07:13 AM
I understood your problem. I was not clear that you could try running portmon on the pc that does work with the software.
As I said, doing a loopback test is not at all relevant. Do you have a manual that explains the commands you need to send? Can you attach it or provide a link to the programming manual? What is the exact command you are sending?
06-15-2010 11:37 AM
06-15-2010 11:48 AM
06-16-2010 04:06 AM
06-16-2010 09:11 AM - edited 06-16-2010 09:13 AM
That attachment is unreadable.
Edit - never mind. Had tosave it to disk first. Strange that clicking on it did not bring it up.
06-16-2010 09:32 AM
05-17-2011 11:47 AM
Hi,
I am having very similar problems. The simple program that came with stepping motor I am using works fine, which confirms there isn't a faulty cable etc... However, I am also trying to use LabVIEW to talk to the stepping motor (which then controls a monochrometer). The program I need to write will be a simple one; the goal is to have a scope do a reading at a certain wavelength, once the reading is done, change the wavelength of the monochrometer via the stepping motor, take another reading and so on... I am having trouble communicating with my stepping motor using LabVIEW. Any string I input, an identical string is output. Perhaps its the command string that I've messed up... I am using the Basic Serial Read and Write VI supplied by NI. Here is a link to the user manual that includes the programming commands:http://www.ams2000.com/docs/TechManuals/dcb241ma.pdf . Any help at all would be fantastic.
Thanks a Bunch,
Cam