Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to view mdsplus data using labview

Solved!
Go to solution
No, I don't know where to find MDSplus VIs compatible with 8.6.  We use 8.5.1 and have gone though at least one version upgrade with these VIs working in both.  I don't recall having to do anything special to get them working after the last upgrade.  I am surprised that these VIs are not compatible.  Is the problem in the dll calls, or somewhere else in the routines?
0 Kudos
Message 11 of 24
(2,777 Views)

when I open Exampl_Read_write_MDS_array.vi file, I got the following message:

 

"...the vi version is too old to convert to current Labview version..."

 

And could not find the following vi's:

 

MDSPLUS_error.vi

Read_write_MDS_IntArray.vi

Close_MDS_Shot.vi

 

 

0 Kudos
Message 12 of 24
(2,775 Views)

I have not tried upgrading these VIs to version 8.6, so I can only speculate that you may need to do something like recompile the dlls.

Have you downloaded the MDSPlus software?  There is a LabVIEW library there and this is where you should find the routines that you mentioned being missing.The link is:

 

http://www.mdsplus.org/index.php?url=mdsplus/download.php&open=10371789941834252319&page=Software%2F... 

 

Greg

0 Kudos
Message 13 of 24
(2,759 Views)

Thanks Greg,

 

Yes, I have downloaded the updated version of MDSPlus. How to recompile the dlls? Those vi files were not in mdsplus/labview directory.  Is there any way for transforming old vi files to new vi files?

 

Maxxi

 

0 Kudos
Message 14 of 24
(2,748 Views)

Hmmm, don't know why those files would not be in the mdsplus/labview directory.  We recently installed on a linux machine and they were there.  Apparently we can only attach 3 files at a time on this forum and there are 21 files in the labview directory.  If you are willing to post your email here (which I am not necessarliy advising) I will email you all of the files that I have.

Greg

0 Kudos
Message 15 of 24
(2,741 Views)

Greg,

 

I have another problem. I can write integer number into Mdsplus, but have problems when I tried to write string into Mdsplus. I think there are something wrong in the set up of the call library function 'descr'. I am actually not sure what is the rule of setting up those parameters: dtype, descr1, endarg and the length of the string in the function 'descr' for string type.   I attached my VI. Could you please take a look and let me know where I am wrong? Thank you so much!

0 Kudos
Message 16 of 24
(2,699 Views)

We also had some problems reading and writing strings.  I've attached our solution.  This vi reads or writes a comment depending on how an input flag is set.  Try this and let me know if it works.

Greg

0 Kudos
Message 17 of 24
(2,682 Views)

Thank you, Greg. Looks like you first convert a string to byte integer, then write that byte integer to Mdsplus. But for me I want to directly write a string to Mdsplus so that the string can also show up in traverser. I found out another solution and attach the VI here. It seems to work so far. You can also try it and let me know if you find any problem. 

 

Thank you for your help all the time. 

0 Kudos
Message 18 of 24
(2,669 Views)

Hey Inhp,

That is great!  I've always hated our work-around to write alpha-numerics. 

Thanks so much for posting this.

Greg

 

0 Kudos
Message 19 of 24
(2,655 Views)

Has anyone successfully written a VI to read a signal node?  I can get the Y Values, but not the Time Axis values.

Gretchen

0 Kudos
Message 20 of 24
(1,892 Views)