Importing several files .csv in the data portal
I'm looking to import data that contains multiple .csv files in the data portal. I have a code to succeed, which can erase all data from the data portal, open a dialoge box to find new data and open new data using a .csv use. I want to improve this script to be able to have the ability to load multiple datasets in the data at a time portal, but I have a limited knowledge of the VBS coding structure. Can someone advise measures to reach this solution with VBS minimal coding experience? Thank you all in advance for your help.
Hi dc13.
The tiara FileDlgShow command has the ability to load several files at the same time. Please take a look by using tiara for more details and an example.
Greetings
Walter
Tags: NI Software
Similar Questions
-
Tiara taking much time to load the TDMS 700 MB to the data portal
I'm trying to load a file of 700 MB TDMS in DIAdem, sampling frequency of 4 channels 10 Hz for 4 days. When I drag the file in the data portal, tiara freezes, its on a 2GB machine, a file that is located on the desktop, not running other programs and it is went 50 minutes without being able to load before I did leave. seems to work fine, although on smaller files. I was wondering if this sounds normal and if anyone knows a way around him.
Yin
Hi Yin,
You can defragment the TDMS file loading in DIAdem programtically:
TDMSFileName Sun: TDMSFileName = "C:\Dokumente und Einstellungen\GrRomaiS\Eigene Dateien\LabVIEW Data\ttt.tdms.
Call DataFileLoad ("" & TDMSFileName & " ","TDMS ","" ")Please note that in this case, you will need to replace at least"<" and="" "&"="" in="" your="" filename="" (not="" contained="" in="" example="" code="">">
In addition, we have incorporated a fix in DIAdem 2010 SP1 that will speed up loading files TDMS (for example containing explicit time strings). We hope to see DIAdem SP1 this year...
-
Custom properties are not displayed on the data portal
In my version of return of DIAdem (2011), there are features to display personalized data portal properties. If selected by right-clicking on the data portal properties would appear under the root, the group or channel where they were stored. So far I have not been able to find this menu in 2014 DIAdem. This feature has been removed?
Hi DIAdemUser1,
In fact, this feature has been removed. R & D wanted caused more confusion than benefit, and I agree. I'm sorry for you and others who liked the feature that has now disappeared. When tiara 9.0 released custom in the data portal properties shows their data types, but this feature has been removed in favour of simplicity. I often miss this feature, but it's for the greater good.
Brad Turpin
Tiara Product Support Engineer
National Instruments
-
HOWTO copy effectively chart the data portal
I have a table in memory VBS and would like to create a channel in this data set-based data portal, I currently use this construction of code to copy the data:
' intChannelCount is the number of samples
' MaxHold is the array of data to be copied
' oFFTMaxHold is the string of data that is the target of the data
counter = 1 to intChannelCount
oFFTMaxHold.Values (counter) = MaxHold (counter)
nextIt's rather slow (and if data preview is open in the data portal) still a lot slower.
Is there a method to copy the entire table in one operation on a string?
Tone
Hi tone,
If you have DIAdem 10.2 or later, you can use the following command to do this with a command - by the way the table of values as one of the parameters - order this is a common situation when you query records of a base you want to load into the data as data channels portal.
ChanRefsArray = ArrayToChannels (ValuesArray, ChanNamesArray)
In the case of your example, it would be:
Call ArrayToChannels (MaxHold, Array (oFFTMaxHold.Name))
Brad Turpin
Tiara Product Support Engineer
National Instruments
-
Close command of the groups in the data portal
Hello
can I use a command in a script to close all groups in the data portal (same as pressing "/" on the num pad).
Thank you
Gabriel
Hello Gabriel,
You can use
Portal.Structure.Collapse (Data.Root)
Tiara supports DATA and PORTAL API since version 11.
Greetings
Walter
-
How to move the MSWMM files and keep the data on my computer?
I downloaded digital film from my camera to a destination on my D drive as a file MSWMM (collections), and whenever I try to move the downloaded film (collection), it does not recognize the movie more.
How to move the MSWMM files and keep the data on my computer?
The mswmm file is the project file, not a video.
Think of it as a recipe for a cake, it only tells you what to do with the ingredients, but does not include the ingredients.
The mswmm file tells the computer to look in a certain folder to use a video or audio file.
If you move the file, then MM knows not where is the file, then you must tell it, by right clicking on a red x on the timeline and then choose search for the file. -
How to tune a myself to several files/folders at the same time?
- I have a lot of music and video files that have suddenly become unresponsive to any media player after a connection Xbox Media Center (music/videos appear, but no action follows after that as they are accessible, media players and the Xbox Media Center don't always work correctly).
- I can play one song/video after changing its properties (security permissions), which gives full control to me, the administrator manually. -Too much work for 4000 + files.
- My current media player is iTunes, but also Windows Media Player fails to play the music/videos.
Thanks for the reply, but I need to know how to proceed for several files/folders at the same time. This particular set of directions only explain how to set permissions to a single.
In Windows Explorer, select all the folders that you want to change the property on, then right click on ONE of these folders (your selections will remain)
Choose Properties > Security > advanced > owner > edit
Make your changes and do not forget to check the "Replace owner...". "downstairs.With thousands of files, it may take a few minutes. VP Tech Services
-
I am new to Adobe, I created an Excel file that I convert the file to PDF, but the converted PDF file shows all the data, missing on the right side of the page
Hi Tony,.
In Excel, click on the Acrobat toolbar, and then click Preferences.
Now select the option 'Fit the worksheet to a single page' and click ok
Now, try to convert and check.
Kind regards
Rave
-
Is it is possible to add script in Adobe Muse? I have added the functionality to export file .csv to the contact form
Hi Vicky,
Yes, you can add scripts customized to a page of muse. To do this, you must go to 'properties-> metadata-> html to head page' or ' object-> insert html.
- Abhishek Maurya
-
Read xls file and display the data in the table.
Hello
Try to read the data from an xls or csv file and fill the same data in the table. If I need to use the table to store the data from the file and display, hoping that someone could help.
Thank you
Hari
Hi hari,.
One thing that is very important when you use the Excel activeX interface (in case you need it) is good termination of worksheet/workbook/lettering handles.
You need these handles to specify what cell in which file you are trying to access.
If you are unable to throw each handle you have, then you will be left with ghost Excel process in your task manager, devours your system's memory.
Thus, when debugging of your application, open the Task Manager and the watch as Excel treats created/destroyed and make sure that you end up with zero Excel process running when your application is closed.
Also consider the case of fault for your program. Check that your exit routes did not omit any termination of handle.
-
Convention of file name for the *.dat files
My colleague gave me several *.dat files created by LabView. They have names like Data2_11119_40866.dat. I think that the strings (11119 and 40866) could contain information about the time covered in the file. If so, this information would be useful for me in the treatment of the data.
Can you please point me to a reference that explains the naming of *.dat files mode in LabView? As you can tell, I am not a user!
Names of files are created by the programmer. It would be best to ask them what are the meanings of the names.
-
Reading file and dump the data into the database using BPEL process
I have to read the CSV file and insert data into the database... To do this, I created some asynchronous bpel process. Adapter filed added and associated with the receive activity... Adapter DB has added and associated with the Invoke activity. Receive two total activity are available in the process when trying to Test em, receive only the first activity is complete and awaits the second receive activity. Please suggest how to proceed with...
Thanks, Maury.
Hi Maury,
There is no need in step 2 that u mentioned above. I donot find useless a webservice?
The process will be launched by the CSV file, then using the processing activity, you can put it in the DB.
There should be no way where you can manually test it by giving an entry. All you can do to test is to put the file in the folder you mentioned when configuring the file adapter.
You just need to have the composite as below:
ReadCSVFile---> BPEL--> DB adapter
And in your BPEL process:
Recieve--> Transformation activity--> call activity
Try to work on some samples listed on the oracle site and go through the below URL:
The playback of the file adapter feature using
Thank you
Deepak.
-
How to write to an existing file, but replace the data just to the last row
In my data acquisition system, the columns represent the channels and each represent line analysis of the data for all channels. It is easy to get the file write by add or replace a file exist. But sometimes I want to just overwriting new data in the last line in a file exist. for example: I have DAQ with 10 channels and scan all channels for three times in each race. So my data file will be 10 columns and 3 rows of each run if I put the file "append". next time I want to record the data by "crash" (so a single row of 3 scans) in the same file but just crash to 11th place (so I'm going to keep all the data I had previously). How to do this?
Hi GPIB Analyzer.
Why do you need to read the entire file?
You can:
-get the size of file with 'Get file size' or 'file info '.
-set the position of reading with "Set file position.
You should subtract the file size 1024, define what the position of the file read 1024 bytes. Now analyze this 1 KB of data, find the last line, set the file again, write to the file. No need to read the entire file.
And as previously stated:
How Labview should know the last line in the file without looking for him? You can do this research better than a simple brute force attack
-
When I export the report to EXCEL files and filter the data, it will display incorrect data
Hi experts,
In OBIEE 11.1.1.6, when I export the report to EXCEL file and open this file to view all the data, it is correct.
However, as the amount of data is so, so I add filter for each column (click on the sorting-> filter filter)
When I select data in the filters, I'm afraid that I find the value of 'White' in the last line in the filter area, but in the table, there no null data. Why? Are you facing the same issue?
Secondly, when I select a value, it will generate a data line.
For example:
2008 - Region1
-The region.2
-Elle3
2009 - Region1
-The region.2
-Elle3
When I select 2008 data in EXCEL, it will display unexpected data, as below:
2008 - Region1Exactly... If you export to the format you will not face question of null data or incorrect when filtered.
Kind regards
DpKa -
The snapshot files exist on the data store, but not in the Snapshot Manager
I searched for a question of space on one of our virtual machines throughout the morning. I finally found that the virtual machine has two snapshot files (total of 120 GB) on the data store.
The problem is that these pictures are not in the snapshot
Manager. How can I get rid of these files from snapshots, recover the 120 GB drive
space and keep everything in tact?
Thank you all.
-Dave Claussen
Try to create the new snapshot, and then remove all the...
vcbMC - 1.0.6 Beta
Lite vcbMC - 1.0.7
Maybe you are looking for
-
Remove the old backup in iCLOUD
CANNOT DELETE / REMOVE the OLD iPhone 6 more backup (13 GB) from iCloud - answer is "Impossible to delete at this time." Have you tried all the possible permutations and combinations to remove old iPhone 6s MORE backup that blocks 13 GB of memory in
-
I'm unable to select different types of paper and print quality.whenever I choose another paper automatically return to advance and normal quality hp photo paper.If for example I change quality printing at best on plain paper automatically become Hp
-
Need the Windows XP drivers for satellite A210
Hello I just bought new Equium A210-17I. I want to change my OS Vista and want to install Windows XP, so everyone had drivers WXP then please post links so I can download it. Thanks in advance...
-
Problem BIOS update on my laptop HP G50 FS046UA with Windows Vista 32 bit home base. .
I got the download from the HP download site, I downloaded the update and received message (IHISI: the support mode fail in SMI!) I click OK got another message (BIOS did not support InsydeFlash) and stop to download. The download is for an Intel pro
-
How to hide the button only break on the toolbar at run time
Hello I had to hide all the buttons as run, run streaming, vi and other abandoned by accessing the properties VI and by unchecking the corresponding options. When I run the vi, everything becomes hide except the pause button and I found no option to