06-29-2015 03:40 PM
Hello,
I am having trouble opening a connection to my SMAC actuator unit. I currently have the serial connection running through an MOXA NPort and then to the motion controller. I have confirmed through hypertrm that the connection and com port settings are correct and can control the unit. When I use the Visa open connection VI I recieve the error above. My visa settings are as such:
Baud - 9600
Data Bits - 8
Stop Bits - 10
Parity - 0
TermChar En - F
TermChar - A
Flow Cntrl - 1
Any thoughts are appreciated!
-Cullen
06-29-2015 04:12 PM
06-30-2015 10:16 AM
Hi Cullen,
Would you please send a screen shot of the code? Why are you using 10 stop bits?
http://digital.ni.com/public.nsf/allkb/D2084EC381319CC386256A1D006F1415
06-30-2015 10:27 AM
I don't think he is useing 10 stop bits.
That is just the value of the ring constant that is wired into the Serial Config subVI for 1.0 stop bits.
1.5 stop bits has a value of 15. 2.0 stop bits has a value of 20.
06-30-2015 10:32 AM
@RavensFan wrote:
I don't think he is useing 10 stop bits.
That is just the value of the ring constant that is wired into the Serial Config subVI for 1.0 stop bits.
1.5 stop bits has a value of 15. 2.0 stop bits has a value of 20.
This gets me in the forums EVERY time... I never remember that.
12-16-2015 04:47 PM
Cullen,
Were you ever able to figure out the VISA Error -1073807360 when using VISA write to your actuator? I get a similar problem when controlling my actuator with an arduino.
Per my attached screenshot, I will get several successful digital writes which move my actuator. Then in my main VI, it outputs an ERR 5001 (timeout) by default, but when I dig as deep as i can go, the error is -1073807360 in the visa write function.
Thanks,
Kyle
01-14-2016 02:24 AM
i guess your line to communicate the serial port is broken,good luck!