InstrumentStudio

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use multiple source waveform in a digital pattern of digital pattern editor

I'm trying to make a digital pattern to use I2C communication

 

I want to dynamically change slave address and register address when I try to reading some data from external devices

 

So I make 2 individual source waveform, "SLAVE_ADDR" and "REGISTER_ADDR"

But It cause below error

"

Error Bursting Pattern
The waveforms to be sourced have inconsistent configurations. Ensure that all of the source waveforms used in the pattern(s) to be burst have the same configuration.

Waveform Name: REGISTER_ADDR

"

I arrange opcodes like below image

usan1_0-1716359939066.png

 

I can find out removing one of them solve the issue, but in this case I have to use only one tdms file mixed with different concept, slave address and register address

Is there any recommended way to use multiple dynamic source waveform? 

0 Kudos
Message 1 of 4
(754 Views)

This is typical register read write and you can achieve it with just one source waveform and one capture waveform.

 

If your intention is to use 657x to read/write registers, I recommend trying SDC Addon as it simplifies the software implementation and allows you to focus on the usage than the implementation and moreover it is cheap compared to the engineering time you spend.

 

https://www.ni.com/en/shop/electronic-test-instrumentation/add-ons-for-electronic-test-and-instrumen...

 

https://www.ni.com/en-us/shop/product/semiconductor-device-control-add-on-for-instrumentstudio.html

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 4
(432 Views)

Yes, I understand that only one source and capture waveform is needed.

However, the source waveform is composed of blocks, each with its own individual meaning.

Therefore, I would like to use these blocks separately

0 Kudos
Message 3 of 4
(395 Views)

Please share the config of each of the source and capture waveforms.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 4
(375 Views)