Write seperate elements to each individual channel tdms
Hi
I have MC which is pumping data from five sensors , each sensor outputs a high bit and low bit. I have created a VI that reads in the data and converts the string to an unsigned byte array. My problem is that I am having trouble adding each individual element of the array in to its own channel in a TDMS file . Currently all data is being written to the same channel.
Hi,
Attached the modified vi snippet.
I normally write data to tdms files using for loops
Let us know if it helps.
Similar Messages
-
How do I find out the size of each individual element within a photoshop file as need to replace some elements? Thanks
What do you mean by "Elements"?
Elements in a flat image or Layers?
Could you please post a screenshot with the Layers Panel visible? -
I have a file containing chemical compounds. E.G
Ag Silver
Al Aluminium
Au Gold
C Carbon
Ca Calcium
Cl Chlorine
Cu Copper
Co Cobalt
I want to write a program which will seperate user input into individual chemical element, which can then in turn be compared to chemical data in the file.
User input puts an compound they want to test, then my program searches the file for this compound. If found,it should print it out the elements in that compound including it's english name.
I.E
Cl contains the elements "c" and "l" name= Chlorine
I am able to read the file but do nothing else.
import java.io.*;
public class FileIODemo2
public static void main(String[]args)
String line; // will be used to read line at a time
try
File inFile = new File("Chemical Data.dat"); //create file object linked to actual file
FileReader reader = new FileReader(inFile); //create input stream
BufferedReader buff = new BufferedReader(reader);
line = buff.readLine(); //read 1st line
while(line!=null); //null returned when no more to be read
System.out.println(line);
line = buff.readLine(); //get next
catch(IOException e)
System.out.println("Error has occured:" +e);
I'm quite new to java programming, help would be much appreciated.Use property-files, you will have to adjust your file a little for this.
Instead of:
Ag Silver
Al Aluminium
it should be:
Ag=Silver
Al=Aluminium
Next you read this file into a Properties-object:Properties props = new Properties ();
props.load (new FileInputStream ("Chemical Data.dat"));Then you can use this to retrieve items like this:String element = props.getProperty("Al");
//==> element = Aluminiumgreetz,
Stijn -
I have finally figured out how to export an iphoto album so that I can maintain the proper order of the photos after burning the file. How do I keep each individual photo title and description after exporting and burning? Presently after exporting and burning each photo is identified by the file name rather than each individual title description.
File name and Title are not the same thing.
Filename is attached to the Jpeg file in the Finder.
Title is attached to the photo within the Jpeg file - as is the description. These are written to the Exif and IPTC metadata on export.
So: File -> Export. Kind: Jpeg or Tiff and Check the box at 'Title and Keywords'. This will write the Title, keywords and descriptions (though not explicitly stated) to the metadata. This can then be viewed in any app that understand this material.
You can choose, if you wish, to also use the Title as a Filename - that's an option at File Name
Regards
TD -
Premiere CS4 effect switch for each video channel
Premiere CS4
Windows
Gentlemen !
Does anyone know if there is a Master Effect Switch for each individual video channel
What I am saying is, is there any way to turn Off or On the effect for each individual video channel
Let's say I wanna turn Off all video effects for video channel 1
Just similar to the icon of the eye or lock for each channel
I have about 40 clips on channel one's timeline , I wanna turn all effect Off for a minute, check something the turn it back On !
ThanksWith the Nested Sequences, turning thing OFF for performance would be easy, but Nesting does take some additional Resources.
For a Feature Request, see this LINK.
Good luck,
Hunt
BTW - some Effects hardly seem to slow things down, while some are quite resource heavy. For playback, Rendering the Timeline normally makes things very smooth, at the expense of the time to Render. -
Configuring individual channels on the PXI-4472B
Hi, I am using the PXI-4472B card to acquire vibration data using transducers with different frequency ranges. The problem I am having is that some of the transducers require being powered from the board (via IEPE) and some don't and I cannot find a way to turn the excitation on and off for individual channels, only all of them.
I am using LabVIEW 8.6 and have configured all the channels using the property nodes to enable the excitation and specify the current, but not all the channels require this.
It clearly states in the data sheet for the 4472 card that the channels are individually configurable for the IEPE, can someone please tell me how to do this?
Thanks in advance,
Darren.
Solved!
Go to Solution.Hello Darren,
Thank you so much for your post on our webforum. I don't have this device on hand (at this moment), but did a test with a simulated device, and this worked well. I created two channels within one task; so use two create channel.vi after each other with their own channel properties. The task out and in are connected to each other, so they have the same task reference.
PLease find a picture of the test I did, based on example \Programs\examples\DAQmx\Analog In\Measure Sound Pressure.llb\Cont Acq Snd Pressure Samples-Int Clk.vi
Please let me know if you have any further questions,
best regards,
Martijn S
Applications Engineer
NI Netherlands
Attachments:
example4472.jpg 151 KB -
Repeating a group element on each page of a report.
I have a report where I need to repeat a group element on each page. The element is from the first group in the data. It is in the center group. Currently, the values from this group only print when the group changes. Everything I try does not work. Does anyone have any ideas. I am attaching a sample of the data. Along with the rtf document. I am using the BI Publisher plug in in Word to create the template.
Data
<?xml version="1.0" encoding="UTF-8"?>
<POLLEDTICKETRPT>
<USERCD>klockhar</USERCD><POLLDATE>03/24/2009</POLLDATE>
<LIST_CENTER>
<CENTER>
<CENTER_CD>0039</CENTER_CD>
<CENTER_NAME>CROSS PLAINS QUARRY</CENTER_NAME>
<LIST_TRANSDATE>
<TRANSDATE>
<TRANS_DATE>03/11/2009</TRANS_DATE>
<LIST_CUSTOMER>
<CUSTOMER>
<CUSTOMER_NBR>33221477</CUSTOMER_NBR>
<CUST_NAME>TDOT DISTRICT 32-GALLATIN</CUST_NAME>
<LIST_JOB>
<JOB>
<JOB_CUST>33221477</JOB_CUST>
<JOB_CUST_NAME>TDOT DISTRICT 32-GALLATIN</JOB_CUST_NAME>
<RGI_JOB_NBR>2008</RGI_JOB_NBR>
<QUOTE_ID>0</QUOTE_ID>
<LIST_COSTCODE>
<COSTCODE>
<COSTCODING/>
<COST_CNTR/>
<COST_ACCT/>
<PROJECT_NBR/>
<PROJECT_TASK/>
<LIST_TICKET>
<TICKET>
<TICKET_NBR>5000021</TICKET_NBR>
<ORIGIN_CD>TSCC</ORIGIN_CD>
<REFERENCE_NBR>254510</REFERENCE_NBR>
<VOID_IND>N</VOID_IND>
<STATE_CD>TN</STATE_CD>
<MEASURE_SYSTEM>S</MEASURE_SYSTEM>
<LOCATION>THANK YOU</LOCATION>
<PO_NBR>POS-254510-C</PO_NBR>
<TAX_CODE>4</TAX_CODE>
<PRODUCT_CD>000003</PRODUCT_CD>
<HAUL_ZONE_CD/>
<INVENTORY_STATUS>PR</INVENTORY_STATUS>
<HAULER_NBR/>
<RGI_TRANSPORT_CD>FU96</RGI_TRANSPORT_CD>
<HAUL_RATE> .00</HAUL_RATE>
<MAT_RATE> 8.50</MAT_RATE>
<NET_TONS> -7.96</NET_TONS>
<MAT_SALES_AMT> -67.66</MAT_SALES_AMT>
<HAUL_AMT>0</HAUL_AMT>
<TAX_AMT>0</TAX_AMT>
<SEV_TAX_AMT>0</SEV_TAX_AMT>
<SEV_TAX_IND>N</SEV_TAX_IND>
<VALID_NET_TONS> -7.96</VALID_NET_TONS>
<VALID_SALES_AMT> -67.66</VALID_SALES_AMT>
<VALID_HAUL_AMT> .00</VALID_HAUL_AMT>
<VALID_TAX_AMT> .00</VALID_TAX_AMT>
<VALID_SEV_TAX_AMT> .00</VALID_SEV_TAX_AMT>
<CASH_TONS> .00</CASH_TONS>
<CASH_SALES_AMT> .00</CASH_SALES_AMT>
<CASH_TAX_AMT> .00</CASH_TAX_AMT>
<CASH_SEVTAX_AMT> .00</CASH_SEVTAX_AMT>
<CASH_HAUL_AMT> .00</CASH_HAUL_AMT>
<TRADE_TONS> -7.96</TRADE_TONS>
<TRADE_SALES_AMT> -67.66</TRADE_SALES_AMT>
<TRADE_TAX_AMT> .00</TRADE_TAX_AMT>
<TRADE_SEVTAX_AMT> .00</TRADE_SEVTAX_AMT>
<TRADE_HAUL_AMT> .00</TRADE_HAUL_AMT>
<INTRA_TONS> .00</INTRA_TONS>
<INTRA_SALES_AMT> .00</INTRA_SALES_AMT>
<INTRA_TAX_AMT> .00</INTRA_TAX_AMT>
<INTRA_SEVTAX_AMT> .00</INTRA_SEVTAX_AMT>
<INTRA_HAUL_AMT> .00</INTRA_HAUL_AMT>
<INTER_TONS> .00</INTER_TONS>
<INTER_SALES_AMT> .00</INTER_SALES_AMT>
<INTER_TAX_AMT> .00</INTER_TAX_AMT>
<INTER_SEVTAX_AMT> .00</INTER_SEVTAX_AMT>
<INTER_HAUL_AMT> .00</INTER_HAUL_AMT>
<CASH_PR_TONS> .00</CASH_PR_TONS>
<CASH_NP_TONS> .00</CASH_NP_TONS>
<CASH_MI_TONS> .00</CASH_MI_TONS>
<TRADE_PR_TONS> -7.96</TRADE_PR_TONS>
<TRADE_NP_TONS> .00</TRADE_NP_TONS>
<TRADE_MI_TONS> .00</TRADE_MI_TONS>
<INTER_PR_TONS> .00</INTER_PR_TONS>
<INTER_NP_TONS> .00</INTER_NP_TONS>
<INTER_MI_TONS> .00</INTER_MI_TONS>
<INTRA_PR_TONS> .00</INTRA_PR_TONS>
<INTRA_NP_TONS> .00</INTRA_NP_TONS>
<INTRA_MI_TONS> .00</INTRA_MI_TONS>
</TICKET>
</LIST_TICKET>
</COSTCODE>
</LIST_COSTCODE>
</JOB>
</LIST_JOB>
</CUSTOMER>
</LIST_CUSTOMER>
</TRANSDATE>
RTF Template
DISPLAY CENTER
S M
FOR EACH CENTER
SET CENTER
CENTER: CENTER_CD CENTER_NAME
FOR EACH TRANSDATE
TRANSACTION DATE: TRANS_DATE
FOR EACH CUSTOMER
FOR EACH JOB
Customer: JOB_CUST JOB_CUST_NAME
Job: RGI_JOB_NBR Quote Id: QUOTE_ID
FCC
group COSTCODE by COSTCODING
Cost Center: COST_CNTR Cost Acct: COST_ACCT Project: PROJECT_NBR Task: PROJECT_TASK
Ticket Nbr ORGCD OrigTck V ST Location Po Nbr Tax Cd Prod Code ZN Hauler Truck Haul Rate UnitPrice Tons SalesAmount
F TCK#M CODE OTCK# V ST LOCATION PO_NBR TC PROD HZ HAULER TRUCK 0.00 0.00 0.00 * 0.00 EPost Author: Guy
CA Forum: General
Hi,
You should add a first level of grouping in your subreport on a fake formula field with a constant value. Put your header and footer information in this group header and footer. In the group option make sure to check the "repeat group header on each page option".
This group will act as a page header + footer within your subreport.
good luck!
Guy -
Hi,
Further to my previous posting yesterday I have somehow miraculously managed to find and restore my playlist folders (although some of my playlists that I created are missing tracks for some reason - any suggestions???).
However, as happy as I am, when I click on the folder heading for each playlist eg. ADELE it drops down the playlist I have for each albumie. 19, 21 but the folder itself shows my entire iTunes library. Bizarre! Any suggestion as to how I remove the library from each individual folder?
I have added a new folder and re-named > dragged playlists into it and then deleted the old one with the entire library in, but taking into account I have a huge iTunes library it will take me hours to do this for all of my folders.
Help much appreciated! ;-))And do I take it that the actually playlist, e.g. THE E.N.D. only shows the tracks of that album? Anyway, something has gone horribly wrong.
The easiest way to resolve this might be to go back to an earlier build of your iTunes library and then bring it up to date with any recently added content, like this:
Empty/corrupt library after upgrade/crash
Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
When you get it all working make a backup!
I would add that you probably have too many playlists. The column browser provides a way to quickly locate, for example, all tracks by an artist, in a certain genre, or specific albums. Creating multiple playlist folders for artists, with playlists for their albums, is overkill. Playlists are best used to create lists or selections that can't be pulled out easily from the Column Browser.
tt2 -
In Contacts version 8, how can I print ALL information in each individual card? When I select the print command the only thing printed is the name and address. I need phone number(s) and all other information in the cards. We enter various pieces of data, other than the standard name address & phone numbers and we print all information on each card so it fits in a 5x7 inch loose binder. We have used InTouch software for many years and it has served us extremely welll, however, the publisher (The Prairie Group) has not, and apparently has no plans to update their software to be compatible with any Mac OSX OS beyond 10.6. Any help will be appreciated!
You can select what you want included in a list format. In the Print command from Contacts, click the Show Details button. Then in the Style pulldown menu select "Lists" and there you'll be able to select what you want included. You can also select what you wish included if you select the Pocket Address Book style.
If neither of those options will work for you, then you will need to look to third-party software. Here's one possibility that seems to get good reviews:
https://www.macupdate.com/app/mac/15485/labels-&-addresses
I haven't done more than try it to make sure that it works with OS X 10.9's Contacts, which it does, but you can download their demo and try it yourself.
Regards. -
My wife and I have Iphone 4s phones, and the same itunes account on two laptops, when she started her phone for the first time all my contacts were deleted how can we have seperate details on each phone, or do we need seperate accounts
Thanks for the help. Took a bit of time and I'll need her phone (when she's back) to get it all straight...I think! :-)
-
I have multiple computers set up on homesharing under one itunes account. Can I use face time on all of them or do i need seperate accounts for each?
I'd suggest you consider a cloud-based file sharing service such as Dropbox for this sort of use. iOS is not designed to be synched with more than one iTunes library at a time, so attempting to use it as you describe, connecting a single iPad to multiple computers, almost certainly won't work as you intend and is likely to cause nothing but headaches.
Regads. -
One Corporate Account for multiple departments or seperate accounts for each
I would like to know if I can have one central account that can be shared among different departments. Or I would need to purchase seperate account for each department.
Thank you for your help.You can have a master paid account which create forms for each of your departments and have each deparment have their own account (could be a free account). The paid account can create the forms and share each form with the right deparment. This way each deparment have access to their own data only and can't mess up the other deparment forms and data.
Really though.... I would recommand for each department to have their own paid account so that they are in full control of their forms.
Gen -
How can I select multiple photos of files without selecting each individual one
How can I select multiple files or photos without having to select each individual one? Like you can do on Windows
Op: without tapping on each one individually
tap all the photos you want to delete.
Note what the OP is asking. -
I want to set up my spreadsheet to display two digits to the right of the decimal point, even if zeros, and not have to do it for each individual cell.
Select all the cells you want formatted that way (or the entire table if that's what you want)
Open the cell inspector
Set the format to "number" with 2 decimal places -
How do I receive multiple texts from the same sender, each individually?
How do I receive multiple texts from the same sender, each individually?
So I receive automated reminders from my job & I want them to come individually. For example, one text -- time stamped 10:14 pm, then another 11:12 am, coming as separate msgs.
Maybe you are looking for
-
Fulltext-search using contains doesn't deliver the exspected result
Hello, under SQL-Server 2012 I have a table like create table test id integer not null, data varbinary(max) not null, constraint pk_test primary key (id) and a fulltextindex on it like create fulltext catalog fttest; create fulltext index on te
-
I'm having troubòle updating my iPod
I'm having trouble updating my iPod Itunes says to me that i'm not connected. Does Anyone know something to fix this problem??? Ho dei problemi ad aggiornare il mio iPod ITunes mi dice che non sono connesso. C'è qualcuno che sappia come aggiustare qu
-
Copying pages to the local portal
Hi, Is it possible for me to copy the pages from our production portal to my local portal. This is because I would like to make try out something on the portal pages and I cannot do that in Production. Also, can I use WebDAV for the same? Thanks a lo
-
ITunes 11.1.5 (5) -How to Adding Artwork from scan not working
I'm reading in a bunch of old CDs. I am scaning the artwork. I get the Info window with the Artwork prompt. I can copy/drag the artwork in and it displays correctly. Permissions seem OK. OK does nothing... ??? can't find help ... that works. Beli
-
Photoshop or bridge to open photos in
just getting started better to open photos in photoshop or bridge