VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I set a setpoint following a profile?

Solved!
Go to solution

Hello,

I have to develop a function whose output is a function of the input. The input and output values ​​must be written in tabular form:

x y

10 2

12 4

15 1

20 3

I think that the only way is to build a custom device. isn't it? If yes I'd like to know if someone knows if it already exists or I have to develop it by myself.

thank you,

Fabio

0 Kudos
Message 1 of 6
(2,221 Views)

Why don't you use a csv file as the profile?

http://www.ni.com/tutorial/14020/en/

~Jiri

CLA, CTA, CLED

0 Kudos
Message 2 of 6
(2,219 Views)

Hello Jiri,

thank you very much for your answer. I think I cannot use the csv file for two reasons:

- I know that in order to use the csv file I have to add the timestamp column and in my case I don't know when I reach the value written on the first column;

- I know that when you use the csv file you set the channel value on the timestamp values and I need to interpolate the value between two rows (I hope that it is clear).

Have you got any suggestion?

 

Thanks,

Fabio 

0 Kudos
Message 3 of 6
(2,216 Views)

Hello Fabio,

 

than you have 3 options:

Custom device

Custom model to generate stimuli

Script a stimulus profile or a ASAM XIL stimulus based on your file...

 

~Jiri

CLA, CTA, CLED

0 Kudos
Message 4 of 6
(2,214 Views)

So do you think that there isn't a custom device already done?

 

Thanks,

Fabio

0 Kudos
Message 5 of 6
(2,201 Views)
Solution
Accepted by topic author fabio.int

I think this one could be reused...

https://github.com/NIVeriStandAdd-Ons/SimpleSequenceSuite

 

J.

CLA, CTA, CLED

0 Kudos
Message 6 of 6
(2,173 Views)