11-21-2013 03:22 AM
I have Sbrio Ni-9642 i want to use the serial interface 9 pin on the board to connect serial to USB interface with the serial port of sbrio to use USB flash for storing data on it from host target could u help me if u have example for this purpose or advice.
11-21-2013 03:52 PM
To accomplish this you would need to write your own driver to control the serial port in order to write to a USB Flash Drive. We do not recommend this and the use of the serial port in this manner is not supported. The Serial to USB converters are meant for use with computers that have no serial port and the user requires Serial port communication for debugging or transferring files. There is a driver on the desktop when the USB converter is plugged in which allows the computer to treat it as it would a serial device. NI does provide access to send serial messages but there is no way to use that communication to talk to a USB Device.
11-23-2013 12:52 AM
thank u for ur advice but what is the proper way to save my data on the target especially if it is huge data.
11-25-2013 08:21 AM
Take a look at the suggestions on this forum post: http://forums.ni.com/t5/Real-Time-Measurement-and/store-data-into-external-storage-with-sbRIO-9602/t.... The solution offered there would be effective. Usually if large amounts of data are to be collected the RIO system is connected to a network and the data is transferred away from the RIO so that the onboard memory is not as critical for data storage. I would recommend this method as it allows the most flexibility and size of storage compared to other options.