-
RSA306B USB Config File Error
I'm trying to get the RSA306B API to communicate using Python on a Linux OS. I keep getting an error when the example program does a search for exiting instruments. The program errors out when reading the the <strong>cyusb.conf</strong> file. <br> <br> Here is the unedited <strong>cyusb.conf </strong>file contents:<br> <br> # This is the main configuration file for Cypress USB FX2 and FX3 devices<br> # All lines beginning with a # in the first column is treated as a comment<br> # Blank lines are ignored<br> # Author    - V. Radhakrishnan ( www.atr-labs.com )<br> # Copyright - ATR Educational Devices (P) Ltd and Cypress Semiconductors Inc.<br> # Date      - March 7, 2012<br> # License   - GPL Version 2<br> #---------------------------------------------------------------------------<br> <br> # Location of logfile for the Cypress USB daemon process 'cyusbd'<br> # Ensure that you have write permission in that directory, if you are non-root.<br> <br> LogFile=cyusbd.log<br> <br> # Location of PID file for the Cypress USB daemon process 'cyusbd'<br> # Ensure that you have write permission in that directory, if you are non-root.<br> <br> PIDFile=cyusbd.pid<br> <br> # Vital Product Data : Vendor/Device IDs - one per line.<br> # Format - vendorID    DeviceID    FriendlyName (Max 30 chars or end of line)<br> <br> <VPD><br> 04b4    8613        Default Cypress USB device<br> 04b4    4717        Default Cypress USB device<br> 04b4    0082        FX2 Device: Custom PID from EEPROM<br> 04b4    1004        FX2LP Bulk Device<br> 04b4    1003        FX2LP CY-Stream Device<br> 04b4    00BC        Cypress Benicia device<br> 04b4    00F0        FX3 Example Application<br> 04b4    00F1        FX3 Streamer Example<br> 04b4    00F3        FX3 Boot-loader<br> 04b4    4720        FX3 I2C/SPI Programmer<br> 04b4    1005        FX3 2nd stage boot-loader<br> 0699    A306            Tektronix RSA306<br> 0699    A500            Tektronix RSA500<br> </VPD><br> <br> I understand that, the locations of the LOG FILE and PID FILE directories must be changed in the config file. My issue is the proper formatting.<br> <br> I've tried the following without success:<br> <br> LogFile=/RSA/RSA_API_0_13_220/cyusbd.log<br> PIDFile=/RSA/RSA_API_0_13_220/cyusbd.pid<br> <br> LogFile="/RSA/RSA_API_0_13_220/cyusbd.log"<br> PIDFile="/RSA/RSA_API_0_13_220/cyusbd.pid"<br> <br> Has anyone successfully modified the modified the <strong>cyusb.conf </strong>file? If so, what is the correct format for specifying the above directories?