At 08:50 AM 27/05/2004 -0700, Eric Scott wrote:
I used the VISA functions to perform serial communications with a device connected to the FP-2000's serial port. Of course the vi had to be downloaded to the FP unit (embedded). I've looked through MAX, but I don't see anywhere to change the serial port settings. I can only change the settings on the local device (my computer). Maybe an .ini file on the unit? I will try that next...


AFAIK there is no way to configure the port in the same sense as you would under Windows (ie from a ControlPanel). And IIRC MAX does not allow remote config of com ports. What you need to do is use a VISA property node to configure the port programmatically each time your application starts (wire the VISAResourceName output from VISAOpen to a PropertyNode and select SerialSettings to configure baud rate, etc). I believe that the Windows settings are overridden by the programmatic settings of any application that accesses the port anyway.


Alex Le Dain Software Engineer

Poseidon Scientific Instruments
1/95 Queen Victoria Street
Fremantle WA 6160
AUSTRALIA

Ph: (+61 8) 9430 6639
Fx: (+61 8) 9335 4650
Web: www.psi.com.au





Reply via email to