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.
09-25-2014 06:53 AM
Hello everyone,
I want to establish communication between a camera and CMUcam4 Labview. This one is connected via RS232 to a USB port and appears on com3. I can communicate without pb thanks to Hyper terminal (the mikroC and of Paralax) but I can not communicate with MAX (Measurement and Automation eXplorer) the LV assisrant NI instrument. In mikroC, I have data format ASCII , new line settings : CR and append new line.
With the assistant instrument under Edit VISA resource settings, I have in the device status: This device is working properly. When I made a simple write like ordering stage: L1 10 that is to flash the camera del at 10 Hz, the command does not run.
The speed, the number of stop bits ...., that's good. My problem just probably the configuration of carracter before and after read and write, I've tried everything.
See files below
It's been two days that I turn around and I'm looking on this forum among other things but I can not get out.
Could anyone help me please
kind regards
09-25-2014 08:03 AM
09-25-2014 11:27 AM
I ve tried \r and \n both with VI:" Basic serial write and read" and MAX and it does nt work. You can find below copy of screens of VISA test pannel: configuration and results with the error. Note on screen 4: View attributes, there is an error, but i don't know where it come from.
Thanks
09-25-2014 11:55 AM
09-25-2014 04:01 PM
thanks for your help
On the copy of screens below you will see the configuration I have tried according to your suggestions. I hope I have understood correctly :
\r puts carriage return character after Write operation
configuration of I/O setting puts a line feed after read operation
Is that right ?
09-25-2014 09:00 PM