Hi!
I´m having a problem when opening an com port in robotstudio and cant figure out what im doing wrong.
What I´m trying to achive is to send information from a vision program and everything is working except the communication
I´m trying to open COM1 whit the following code:
VAR iodev channel;
VAR num out_buffer{20};
VAR num input;
VAR robtarget target;
Open “COM1:”, channel\Bin;
Close channel;
The error code I got is an file open error but i don’t want to open a file, i want to open COM1
Please help me with what I´m doing wrong.