NI Home > Community > NI Discussion Forums

Additional NI Software Idea Exchange

Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
S.Kakibe

Output 1st-order signal with Real-Time Sequence calling CSV files

Status: New
by Active Participant S.Kakibe on ‎01-18-2012 09:52 AM

When CSV file is imported to stimulus profile editor, VeriStand outputs the 0th-order signals drawn in blue. However, my customer wants to output the 1st-order signals in red. That would be best to select 0th/1st-order hold depending on the applications. Do you have a plan to support this feature in the near future?
According to this link, the Stimulus Profile Editor generates a real-time sequence from a CSV file.  So it would be very nice to have this feature in VeriStand :smileyhappy:

image.png

Comments
by Member Tobias Gilbert on ‎01-19-2012 09:32 AM

Did you already try the TDMS Player Add-On? It can replay a TDMS measurement file with different interpolation methods.

Converting your CSV into TDMS should not be very complicated.

by Active Participant S.Kakibe on ‎01-22-2012 09:05 AM

Hi Tobias,

Thank you for your advice. I did not know TDMS Playser, so I hahve checked it. That would meet my requirement! I tried to control TDMS Player from Stimulus Profile, but I could not do that...  Is it possible?  If so, I guess you use  "Send Workspalce Tool Message".

Saku

by Active Participant S.Kakibe on ‎01-22-2012 09:17 AM

I am sorry to bother you, but I noticed that you can access custom device parameter from "variables" functions on realtime sequence.

Thanks,

Saku

 

by Active Participant StephenB on ‎01-23-2012 08:58 AM

I agree that we should offer interpolation for our CSV playback, so I kudo'd your idea.

 

You can work around this by using the VI I just posted here: https://decibel.ni.com/content/docs/DOC-20394

To convert your CSV file to a real time sequence and then add interpolation to the generated file.

by Active Participant S.Kakibe on ‎02-01-2012 09:06 PM

Hello,

 

I need your advice about TDMS player. This post is sort of support request, I hope you can forgive me.

I installed TDMS player, but configuration setting is a little different from the image on the web.

In my PC, singal name is not enumerated under TDMS player, so I could not assign the TDMS output.

I downloaded the files agian, but things does not change.

Do you have any idea?

 

Saku

 

My PC

image.png

 

On the web

images.png

 

 

by Active Participant S.Kakibe on ‎02-01-2012 10:30 PM

Hi,

 

It seems that TDMS player can play only waveform data type in tdms file. Is that right?

If so, how shold we create waveform data? LabVIEW can generate it, but DIAdem can not. (As far as I try, DIAdem can create three data type, numeric/time/string.) My customer want to edit/create signals while viewing it. I think tdms player is not easy to be adopted if we can not provide tdms signal editor.

 

I met my customer who is condering HIL systems replacement yesterday, my cutomer did said that linear interpolation function is necessary again. So I hope you add this feature to improvement list. (Or, I will lost $1M oppotunity:smileysad:)

 

Saku Kakibe

by Active Participant S.Kakibe on ‎02-13-2012 12:29 AM

Hello,

 

I have worked on this matter.
I create waveform in DIadem with script like the following. So this problem is resolved.

-------------------------------------------------

Dim Mydt,MySignalName
MySignalName = InputBox("Enter Signal Name","Signal Name","")
Mydt = InputBox("Enter data interval(unit:sec)","dt","0.001")
Call Data.Root.ChannelGroups.Add(MySignalName)
Call Data.Root.ChannelGroups(Data.Root.ChannelGroups.Count).Channels.Add("Time",DataTypeFloat64)
Call ChnGenVal("["+Str(Data.Root.ChannelGroups.Count)+"]/Time",1,2,0,Val(Mydt),0)   '... ChnArg1,ChnRow,ValNo,ChnBegin,ChnStep,ValueOverwrite
Call Data.Root.ChannelGroups(Data.Root.ChannelGroups.Count).Channels.Add(MySignalName,DataTypeFloat64)
Call ChnToWfChn("["+Str(Data.Root.ChannelGroups.Count)+"]/Time","["+Str(Data.Root.ChannelGroups.Count)+"]/"+MySignalName,1,"WfXRelative")

-------------------------------------------------

 

However, TDMS player does not work fine. Now I can map TDMS player output to others, but TDMS player always does 0th order interpolation although other interploration mode. I asked this problem to AE, and I hope this will be resolved soon :smileyhappy:

 

Saku

by Member schrotti on ‎09-03-2012 04:32 PM

Thats exactly what im looking for. Kudo!