10-24-2023 01:17 PM
Hi,
I don't have much technical knowledge about I2C, SPI or Labview but I have some basic questions.
I have a program that was using the USB-8451 to extract information using a few of the pins.
It turns out USB-8451 was no longer sold so I got the USB-8452. With the change, there are no more terminal blocks on both side, only pins, as shown below:
https://www.ni.com/docs/en-US/bundle/ni-845x-hw-dsw-getting-started/resource/371746e.pdf
I don't have much knowledge on these kinds of topics.
Would I be able to use the same program and just use the I2C_SDA, I2C_SCL, and +5V pins?
Or would I need to have someone change the program?
What needs to be done?
Any help would be appreciated. Thank you!!
10-24-2023 01:32 PM
@tng32 wrote:Would I be able to use the same program and just use the I2C_SDA, I2C_SCL, and +5V pins?
Or would I need to have someone change the program?
What needs to be done?
You may need some hardware interface changes to get the signals to the right place, simply because of the lack of terminal block for the USB-8452. The only thing that may change in the software is where you define what device you are connecting. But that would be an issue with different USB-8451 units as well (named in MAX or use the default name that includes the serial number). The same software calls will work with both of the devices.
10-24-2023 03:14 PM
On the hardware side, just reconnect the signals to respective pins on 8452 (match the signal names).
On the software side, the level of changes depend on how it was developed.
USB-845x devices do not support Alias in NI MAX and hence I would expect any reasonable developer to make it an input select or auto-detect.
Auto-detect implemented for 8451 specifically will not work for 8452.
12-11-2024 07:11 AM
@santo_13 wrote:
On the hardware side, just reconnect the signals to respective pins on 8452 (match the signal names).
On the software side, the level of changes depend on how it was developed.
USB-845x devices do not support Alias in NI MAX and hence I would expect any reasonable developer to make it an input select or auto-detect.
Auto-detect implemented for 8451 specifically will not work for 8452.
FYI, USB-845x devices do support Alias in NI MAX.
You can do so by:
Left pane
1) Select 'My System' -> 'Software' -> 'NI-VISA x.y'.
Right pane
2) Select the 'VISA Options' tab.
3) by 'My System' -> 'General Settings' -> 'Aliases'.
4) Select resource
5) Press 'Add Alias'