08-11-2014 03:42 AM
Hi,
I am currently using a NI8451 USB in order to program the TI 77910A. I have successfully managed to write and read on individual EEPROM registers. My problem is that I wish to program on 12 registers simultaneously, I therefore changed my inputs to the 845xI2C Script+Write VIs to arrays. However, when I effectively do run my VI, only the first element of each array( EEPROM Register+Data) is transmitted. I know it is a limitation of my device but I am not able to find an alternative in order to input the address of registers and their data all at once.
Does anyone have any ideas or suggestions?
P.S. I have tried implementing a series of 12 parallel Script Address+Write VIs. Labview crashes everytime i run the VI.
Thanks,
Vid
08-11-2014 06:27 AM
First of all, you might want to add a delay after running the script. You need to allow time for the script to actually run before you shut down the device.
Secondly, you only need to close the device once. As soon as any of those loops is done, you should be getting errors due to an invaild reference.
08-11-2014 06:59 AM
Thanks crossrulz. Coming back to the array inputted to the Script+Write VI, how can I input more than 1 EEPROM register address and data effectively?
Vid.
08-11-2014 07:20 AM
I'm thinking you are just going to have to use a FOR loop to build the script and then run the script.