How to write to both .csv and binary format files
Hi, I am very new to labview. I have been given the programme to process measurement data and save the data into .csv format. But the file in .csv format is very large. So on top of the .csv, I would like to save the processed data into another binary file at the same time. I have attached the .vi to this post, I tried to add an write to binary function to the programme, but there are quite a few errors. Could someone give me a hand please? Thanks a lot.
Attachments:
RF Analyze_test.vi 40 KB
I agree that TDMS is worthwhile looking into.
As far as your issue: which errors are you referring to? Are you referring to the missing assignments to the tunnels? That's due to the fact that you did not wire a value for the other case. An output tunnel must generate a value for all cases. You can right-click on the output tunnel and select "Use default if unwired". In this case the value will be the default value for whatever datatype is being generated. If you are referring to other errors, please be specific.
Similar Messages
-
How to export data to .csv and send that file to folder using sql commands?
Really hoping someone can provide some code sample or point me in the right direction (with examples using sql).
I am using oracle 11g with plsql developer. My requirement is that the data retrieval should be automatic. That means when query a data in oracle table , the data should be convert into .csv file and then it should send that to some specific folder.
Example: Assume that student_sub1 table have all students subject1 data.when i write a query like select * from student_sub1 where student=1, the student1 data should convert into .csv file and then the .csv file should go to student1 folder.
Hence I am requesting you to suggest me how write a sql code to convert the data into .csv file and to create a folder to send that file using oracle.
Your inputs helps me alot.
Thanks in advance!!!!
Waiting for your replies.... Cheers981145 wrote:
Really hoping someone can provide some code sample or point me in the right direction (with examples using sql).
I am using oracle 11g with plsql developer. My requirement is that the data retrieval should be automatic. That means when query a data in oracle table , the data should be convert into .csv file and then it should send that to some specific folder.
Example: Assume that student_sub1 table have all students subject1 data.when i write a query like select * from student_sub1 where student=1, the student1 data should convert into .csv file and then the .csv file should go to student1 folder.
Hence I am requesting you to suggest me how write a sql code to convert the data into .csv file and to create a folder to send that file using oracle.
Your inputs helps me alot.
Thanks in advance!!!!
Waiting for your replies.... CheersSET COLSEP ,
spool student1.csv
select * from student_sub1 where student=1;
spool off
How do I ask a question on the forums?
SQL and PL/SQL FAQ
Handle: 981145
Status Level: Newbie
Registered: Jan 10, 2013
Total Posts: 25
Total Questions: 10 (8 unresolved)
I extend my condolences to you since you rarely get answers to your questions here. -
How can I print BOTH legal and letter on my duel tray printer????
How can I print BOTH legal and letter on my duel tray printer from my mac? on a pc you can choose "print according to pdf size" and the mixed document will print in both legal and letter auto-selecting the printer tray.
Hello CKAY,
My old printer does not show 8x10 either.
In the printing preferences under the Paper/Quality tab, do you see a "Custom" option or button? There should be one in there somewhere in your preferences.
Click on that and create a custom size of 8 in for the width and 10 in for the length. Be sure to "Name" it 8x10 Photo and click ok.
Now give it whatever attributes you want under the other tabs and click Apply and OK (or just OK).
Close out the printer and open it again and the new size you created should show in the list. -
How do I create both endnotes and footnotes in same doc in Pages? I have iWork 2008. I understand how to create one or the other, but not both.
You have to select one or the other.
Try making two documents and see if you can merge the .pdfs, but their will be problems with page flow, making the pages shift. Can't see it working really.
Pages is not the only solution out there or the best for most jobs (let alone the safest). Try Word for Mac, LibreOffice (free) or any App that has the features you need.
Peter -
How do i get both mine and my wifes iPhones to photo stream. hers is the only one doing it
how do i get both mine and my wifes iPhones to photo stream. hers is the only one doing it
The best way is to not share Apple IDs but also make sure under Settings & Messages on both devices that only one phone number is checked.
-
I have two iPhones and synchronize with the same macbook. How do I segregate both applications and all the data?
Hi Jamesdwills,
Welcome to the Support Communities!
If you are using the same Apple ID on both devices, the Game Center profile should be the same.
Check out this information from the iPad User Guide. Try signing out of the Game Center on both devices and then sign back in with the correct Apple ID:
Using Game Center
http://support.apple.com/kb/ht4314
Game Center settings - iPad User Guide
http://help.apple.com/ipad/7/#/iPad9a13d039
Game Center settings
Go to Settings > Game Center, where you can:
Sign out (tap your Apple ID)
Allow invites
Let nearby players find you
Edit your Game Center profile (tap your nickname)
Get friend recommendations from Contacts or Facebook
Specify which notifications you want for Game Center. Go to Settings > Notifications > Game Center. If Game Center doesn’t appear, turn on Notifications.
Change restrictions for Game Center. Go to Settings > General > Restrictions.
Cheers,
- Judy -
Hey, how do I download both HD and SD versions of Movies in iTunes? HD won't play on iPod. Thanks!
Hi seamus860,
I believe this article should answer your question:
iTunes: Sync purchased HD videos to iPod or iOS device
http://support.apple.com/kb/TS4223
Have a good one!
- Ari -
How to write triggers on startup and shutdown of the server?
Plz advice.
How to write triggers on startup and shutdown of the server?
I could write it but nothing happened!!!Small code example for you:
[email protected]> @ connect mob/mob
[email protected]> create or replace trigger shutdown_trigger
2 before shutdown on database
3 begin
4 insert into shut_table values(sysdate);
5 end;
6 /
Trigger created.
[email protected]> create or replace trigger start_trigger
2 after startup on database
3 begin
4 insert into start_table values(sysdate);
5 end;
6 /
Trigger created.
[email protected]> @ connect "/ as sysdba"
[email protected]> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
[email protected]> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 64036368 bytes
Fixed Size 454160 bytes
Variable Size 50331648 bytes
Database Buffers 12582912 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
[email protected]> select * from mob.start_table;
START_DAT
14-SEP-06
[email protected]> select * from mob.shut_table;
SHUT_DATE
14-SEP-06
Best Regards
Krystian Zieja / mob -
How to write code for totals and subtotals in alv programing?
how to write code for totals and subtotals in alv programing?
hi,
1. <u><b>TOTAL.</b></u>
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_basic.htm
2. <u><b>How do I add subtotals</b></u>
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
Regards
Anver -
How can I open both UDP and TCP ports
Hi,
How can i open both tcp and UDP ports for an IP in Cisco ASA?
Regards
EjazAre you referring to port opening in Cisco ASA to permit certain traffic? I believe the following document should help.
http://www.cisco.com/en/US/docs/security/asa/asa82/configuration/guide/acl_overview.html
Adding a Standard Access List
hostname(config)# access-list access_list_name standard {deny | permit} {any | ip_address mask}
Example:
hostname(config)# access-list OSPF standard permit 192.168.1.0 255.255.255.0
http://www.cisco.com/en/US/docs/security/asa/asa82/configuration/guide/acl_standard.html
Adding an Extended Access List
access-list access_list_name [line line_number] [extended] {deny | permit} protocol source_address mask [operator port] dest_address mask [operator port | icmp_type] [inactive]
Example:
hostname(config)# access-list ACL_IN extended permit ip any any
http://www.cisco.com/en/US/docs/security/asa/asa82/configuration/guide/acl_extended.html
Hope this will help. -
How can i use both Windows and Mac os at the same time on my iMac
How can i use both Windows and Mac os at the same time on my iMac
You can use Parallels desktop or VM Fusion to run both operating systems at the same time. Both programs work well, but I personally perfer VM Fusion.
-
How to write a code for open new txt file in swing
hai all,
now i do one project in java.that project's GUI is Swing. But i don't known swing (basic).So how to write a code for open new txt file and "Open window " in menu item on swing.that means when i click the "New" on menu that time open a new txt file. open also like that type.
plz give me that code ! very urgent
Advance Thanks !
RSKSwing Tutorial:
http://java.sun.com/docs/books/tutorial/uiswing/index.html
Since you don't know the basic of swing read the tutorial, it is for your own good because it is useless if we provide you with a code you don't even understand and how it works.
If you want a menu read the tutorial about using menus and for opening a file read using JFileChooser.
note: don't use the word urgent because it implies that your problem is more important than others. -
How to write the oracle data as XML format. (.XML file)
create or replace procedure pro(p_number )
is
cursor c1 is select *from emp where empno=p_number;
v_file utl_file.file_type;
begin
v_file := utl_file.fopen('dirc','filename.txt','w');
for i in c1 loop
utl_file.put_line(v_file,i.ename || i.empno ||i.job);
end loop;
closef(v_file);
end;
Now my client want instead of .txt file he need .xml files
File should contains xml tags. can any one help regarding this.. with one example.
How to write the oracle data as XML format. (.XML file)hi,
hope this example will do something....
SQL> select employee_id, first_name, last_name, phone_number
2 from employees where rownum < 6
EMPLOYEE_ID FIRST_NAME LAST_NAME PHONE_NUMBER
100 Steven King 515.123.4567
101 Neena Kochhar 515.123.4568
102 Lex De Haan 515.123.4569
103 Alexander Hunold 590.423.4567
104 Bruce Ernst 590.423.4568
SQL> select dbms_xmlgen.getxml('select employee_id, first_name,
2 last_name, phone_number from employees where rownum < 6') xml
3 from dual;
*<?xml version="1.0"?>*
*<ROWSET>*
*<ROW>*
*<EMPLOYEE_ID>100</EMPLOYEE_ID>*
*<FIRST_NAME>Steven</FIRST_NAME>*
*<LAST_NAME>King</LAST_NAME>*
*<PHONE_NUMBER>515.123.4567</PHONE_NUMBER>*
*</ROW>*
*<ROW>*
*<EMPLOYEE_ID>101</EMPLOYEE_ID>*
*<FIRST_NAME>Neena</FIRST_NAME>*
*<LAST_NAME>Kochhar</LAST_NAME>*
*<PHONE_NUMBER>515.123.4568</PHONE_NUMBER>*
*</ROW>*
*<ROW>*
*<EMPLOYEE_ID>102</EMPLOYEE_ID>*
*<FIRST_NAME>Lex</FIRST_NAME>*
*<LAST_NAME>De Haan</LAST_NAME>*
*<PHONE_NUMBER>515.123.4569</PHONE_NUMBER>*
*</ROW>*
*<ROW>*
*<EMPLOYEE_ID>103</EMPLOYEE_ID>*
*<FIRST_NAME>Alexander</FIRST_NAME>*
*<LAST_NAME>Hunold</LAST_NAME>*
*<PHONE_NUMBER>590.423.4567</PHONE_NUMBER>*
*</ROW>*
*<ROW>*
*<EMPLOYEE_ID>104</EMPLOYEE_ID>*
*<FIRST_NAME>Bruce</FIRST_NAME>*
*<LAST_NAME>Ernst</LAST_NAME>*
*<PHONE_NUMBER>590.423.4568</PHONE_NUMBER>*
*</ROW>*
*</ROWSET>*
ask if you want more assistance.
thanks. -
Rest method that can support request/responce in both xml and json formats
Hi,
I want to create rest method that can support request/responce in both xml and json formats.
I am trying in bellow way, but its not working getting error.
any idea on this?
Code in IService.cs :
[OperationContract]
[WebGet(UriTemplate = "/Login/{UserID}/{Password}")]
Responce Login(string UserID, string Password);
Code in Service.cs :
public Responce Login(string UserID, string Password)
try
objResponce = new Responce();
objResponce.MessageType = Responce.ResponceType.Warning.ToString();
string Con = GetConnectionString(UserID, Password); //Method to check valid user or not
if (Con.Trim().Length != 0)
objResponce.Message = "you have logged in Successfully";
else
objResponce.Message = "Please Enter Valid UserID,Password";
catch (Exception ex)
through ex;
return objResponce;
My Config settings :
<services>
<service name="OnePointAPI.OnePointAPIService">
<endpoint address="JSON" binding="webHttpBinding" contract="OnePointAPI.IOnePointAPIService" behaviorConfiguration="webJSON" ></endpoint>
<endpoint address="XML" binding="basicHttpBinding" contract="OnePointAPI.IOnePointAPIService" behaviorConfiguration="webXML" ></endpoint>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the values below to false before deployment -->
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="webJSON">
<webHttp defaultOutgoingResponseFormat="Json"/>
</behavior>
<behavior name="webXML">
<webHttp defaultOutgoingResponseFormat="Xml" />
</behavior>
</endpointBehaviors>
</behaviors>
Anwar ShaikIn several days (in the 19th) i will lecture at
SQLSaturday #360 and my last demo (hopefully I will have the time) is
Full implementation of JSON, I will show several function using JSON serializer and deserializer, and as mentioned full implementation including fast
indexes on JSON column (finding specific Node in 10 million rows
in less then a second). If you want to wait, then I will publish it latter probably, or you can come the lecture if you want :-)
* I am using Json.NET framework, by the way.
regarding your question, all you need is to find a nice serializer/deserializer framework (you can use
Json.NET framework) in order to do what you are looking for (if I understand what you asked)
Ronen Ariely
[Personal Site] [Blog] [Facebook] -
Revision: 15252
Revision: 15252
Author: [email protected]
Date: 2010-04-06 16:57:34 -0700 (Tue, 06 Apr 2010)
Log Message:
1) SMILPlugin - SMILMediaGenerator class modified to support both live and vod smil files. SMILLoader modified to retain original resource metadata.
2) AkamaiBasicStreamingPlugin refactored. This includes improved support for all types of streams while the plugin is loaded, added support for plugin metadata that can override built in defaults for a) live stream time out; b) whether or not the plugin should try to reconnect to a live stream if both primary and secondary encoders fail; c) the interval at which the retry should occur. Added support for resource metadata for specifying connect-level and stream-level auth tokens so that these tokens do not need to be part of the URL (although this is acceptable also).
3) AkamaiPluginSample app updated to support auth tokens which are not part of the URL (these are passed to the Akamai plugin via resource metadata).
Modified Paths:
osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.actionScriptProperties
osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.mxml
osmf/trunk/plugins/SMILPlugin/org/osmf/smil/loader/SMILLoader.as
osmf/trunk/plugins/SMILPlugin/org/osmf/smil/media/SMILMediaGenerator.as
osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/.actionScriptProperties
osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/AkamaiBasicStreamingPlugin.as
osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/AkamaiBasicStreaming PluginInfo.as
osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetConnect ion.as
osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetConnect ionFactory.as
osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetLoader. as
osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetStream. as
Removed Paths:
osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/events/
Maybe you are looking for
-
Customer Master using Appended structure KNA1
Hi We have to update few ZZ description fields in ZAKNA1, which are not part of user interface in XD01/02/03. The available options are such as LSMW, Batch input require code addition through user exit ZXF04U01/ EXIT_SAPMF02D_001. I would like to use
-
How to install HFM 9.5.0
Dear All, I try to install HFM 9.5.0 and after install share service , workspace and HFM I login from workspace and try to get into HFM , however I can not get in and show up some error : Invalid or could not find module configuration. Required appli
-
Functionality of Tabs in Workoverview like Alerts Tasks Notifications
Hi Experts In SRM7.0 there is a link Workoverview. Please let me know the functionality of the Tabs in Work Overview like Alerts Tasks Notifications. Thanks in advance.
-
When downloading from Itunes Im getting an error Required Disc not available
Im attempting to download a song from Itunes. Upon attempting to download I get an error. "Unable to download, the unable to locate required disc". This also comes up when I'm attempting to back up my Iphone 4. Any help with a solution to this proble
-
Import speeds suddenly slowed down
I was using Lightroom 4.4 Windows 64bit this morning to import photos. I'd set off two batches of a hundered or so, one after the other and they both ran fne. I then switched to a different cataog, about 12000 files smaller, and tried to set off anot