11-04-2015 04:50 PM
Hi There,
Does anyone know how to export the MVE settings to a csv file? I am using DSC module 2015 and do not see a "save" "edit" or "export" option on the screen. I am able to change the parameters one by one and then they get saved after I hit "done" but for large applications I would like to export the file to a .txt or .csv like DSC 7.1 use to do to modify the file and import it back with all of the changes.
~storrers211
11-05-2015 02:27 PM
storres211,
It looks like that functionality exists at the project level as outlined in the following KB:
http://forums.ni.com/t5/LabVIEW/How-do-I-export-variables-from-multiple-variable-editor/td-p/1034052
TLDR is that if you right-click on the library in the project there are options for import and export to csv.
11-11-2015 06:35 PM
11-12-2015 09:27 AM
storres211,
Full disclosure: I'm relatively new to DSC myself, but I work with plenty of people that are more familiar with it.
To make sure that I understand what you're trying to do, you would like examples on how to map a large number of tags from your OPC server to shared variables?
11-12-2015 04:01 PM
Yes Tanner!,
My goal is to create 3 separate VIs (I'm calling them Test Editor, MAIN, and Data Viewer)
Test Editor: Creates new setup, imports and configures channels
MAIN: Runs file created in Test Editor and stored data and event files to a citadel database
Data Viewer: Reads citadel database file created in MAIN and plots historical data and exports reports to a csv file ( I'm probably going to use the report generator toolkit for this part)
Test Editor: will import shared variables from OPC based dataloggers and other PCs running a MAIN vi. I will then export the variables to a csv file ( thanks for showing me where to find this option) configure the Channel Name, deadband, alarms etc, import file back to Test Editor and save.
I also need to create user accounts (which I have found under the tools drop down menu) for client access to certain controls.
DSC for LV7.1 seemed to be more user friendly with its tag configuration editor, there are also a lot of manuals and tutorials on DSC 7 but I've found it hard to find examples for the new DSC version so any help would be grately appreciated.
I'm taking LV Core 3 course in Louseville CO next week so I'll be asking some of these questions there as well.
~sandro
11-13-2015 03:33 PM
For a moment I forgot I had the exclamation point in my name and thought you were just really pumped about this forum post.
We discussed what you're trying to do in our group today, and I've included our ideas and some helpful links here:
Test Editor: Creates new setup, imports and configures channels
There is a pallette that contains a good selection of VIs that are well-documented located on the Block Diagram at: Functions>>DSC Module>>Engine Control. There are VIs there for programmatically creating and configuring I/O servers as well as modifying and deploying SVEs.
MAIN: Runs file created in Test Editor and stored data and event files to a citadel database
On theVariables and I/O Servers pallette in the afore-mentioned location there is a VI that allows you to programmatically enable and configure logging.
Data Viewer: Reads citadel database file created in MAIN and plots historical data and exports reports to a csv file ( I'm probably going to use the report generator toolkit for this part)
I think that Report Generation would be a good start to creating the reports, and Functions>>DSC Module>>Historical provides the functions to actually read the data from the database.
Additionally, here are some helpful links that outline in more detail some of these processes:
http://zone.ni.com/reference/en-XX/help/371618J-01/lvdschelp/create_opc_clnt/
http://zone.ni.com/reference/en-XX/help/371618H-01/lvdscconcepts/citadel_hist_db/
http://www.ni.com/white-paper/6579/en/
I hope this helps you get started, and if you have any follow up questions or details that give you trouble you can post here or call 1-866-275-6964 and create a service request.