Jump to content
pratikhyperworks

importing experimental data

Recommended Posts

Hello forum


 


HS-1505: Register a Templex Function in HyperStudy


 


 


In this Tutorial , tep 5.19  the experimental result  file is imported in *.xy format.  But I have my experimental result file in *.csv form


 


Problem with importing this is values are not imported as X(frequency) and Y(frf) colums as seen in preview(img2). The actual plot of this values should be as indicated in red line in (compare.pdf)


 


Is there a way to convert csv to .xy format or import it directly in proper columnwise data.Is there way to chk what data is imported.


 


Regards


Pratik


 


post-36734-0-15151600-1435575442_thumb.j

compare.pdf

Share this post


Link to post
Share on other sites

Hi Rahul


 


I was able to create create .xy file but it does not import data as column1(Xaxis-frequency) against column2 (Yaxis- FRF) but column1(Xaxis-rownumber) against column2 (Yaxis- FRF)


what would u suggest ?


 


Regards


Pratik


post-36734-0-95761500-1435761030_thumb.p

Share this post


Link to post
Share on other sites

Hello,


 


There is no difference between *xy and *csv, I believe they are using the same reader.  You can always investigate the contents of a vector by defining a response as just the vector name and clicking evaluate in the expression builer.  This is geneate an error because responses cannot be vector, but you can see the contents of the vector.


 


You have not shared the contents of you file, but based on what you describe, I suspect  the data you want is simply not the first and second column as you have have requested. Without actually seeing a snapshot of the file contents it is impossible to be more specific.  When he data doesn'y have headers, they are simply labeled with generic names like Column1, for example.


 


Thanks


pratikhyperworks likes this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...