Creation Waveform TDMS file using the functions DDC_ in C 6.0?
I'm trying to implement an export written in C 6.0. I can make the TDMS files using the DDC_ controls without any problem. But I can't understand how waveform TDMS files. I thought that if I added properties wf_ I should be able to define the waveform = Yes. But it seems to be more complicated than that.
Here's what I work until now... (with the exception of the error handling to make it easier to see)
DDC_CreateFile (sDestFileName, "TDMS", gszinfoline1, gszinfoline2, gszinfoline3, gszinfoline4, & hOutputFile);
DDC_AddChannelGroup (hOutputFile, szGROUP_NAME, szGROUP_DESC, & hgroup)
DDC_CreateChannelGroupPropertyTimestampComponents (hgroup,
szCHANNEL_NAME,
year (unsigned int),
months (unsigned int).
days (unsigned int).
hours (unsigned int).
minutes (unsigned int).
wholeseconds (unsigned int),
(double) fractionseconds);
DDC_AddChannel (hgroup, DDC_Double, szCHANNEL_NAME, szCHANNEL_DESC, szCHANNEL_UNITS, & lphchannel);
DDC_CreateChannelProperty (lphchannel, "wf_increment", DDC_Double, dInterval);
DDC_CreateChannelProperty (lphchannel, 'wf_xname', DDC_String, 'Time');
DDC_CreateChannelProperty (lphchannel, "wf_xunit_string", DDC_String, "s");
DDC_CreateChannelProperty (lphchannel, "wf_start_offset", DDC_Double, 0,0);
Any suggestions? (Details of this aid are intended for LV or completely absent)
Thank you very much
Don
Hi Don,
Thanks for the additional information. After doing research a bit more, it seems that there are 3 required properties so that the property of waveform to be set to yes. These are wf_start_offset, wf_increment and wf_samples. If you add in a call such as the following, this should solve the problem:
DDC_CreateChannelProperty (lphchannel, "wf_samples", DDC_Int32, 5);
Just replace with the length of your table 5.
Kind regards
Tags: NI Software
Similar Questions
-
Hi guys,.
When you type information in a form in the DC or Pro Player I can enter text with fields of text etc and then save, close and return later to change the form. However once I use the function "Fill & Sign" to sign the document, and then save, it locks the file and all other fields become editable. Is there a way around this to remove this feature where it becomes locked and instead allows me to change the form after a signature is applied and saved. All the security properties of the form are on 'admitted', there is no restriction. Even though the document is locked all the properties remain still as 'authorized '.
The signing is FINAL. You cannot sign a PDF paper advance. Complete and save, do not sign.
-
I can´t use the function "save PDF-portfolio as a site" in the file menu - it is greyed out.
I use Windows 10 House and Acrobat DC
Not all portfolios can be saved as a site.
It is possible with http://blogs.adobe.com/pdfdevjunkie/wp-content/themes/Adobe_PDFDevJunkie/download/Billboar dTemplate.pdf
-
When I use the function "cut", the line of results more sharpness compared to the original files. For example, {A: "file.psd"-> cultures 4x6inch, 300 dpi-> B: "cropped file.psd} then the results are as described as a first step. What s the problem. (Photoshop CC, windows7)
I'm a Retoucher of photpfile have used the CS2 version for many years, and fuction 'Harvest' is an important and frequent tree tools myself. The result of the broke lines drive me annoying cause my feeling touch Sofete are all blown away. Please help me.
I think you're talking about using the crop tool? If you're cropping with a size and resolution that involves interpolation of the image, the crop tool will use your preference for the Interpolation of the Image. By default, bicubic is automatic, which can easily result in a sharp file. Change your preference (in general) to bicubic and you shouldn't see any sharpening.
I hope it works for your situation.
-
I want to rename and move files from a shoot 5 d on a new drive. I would like to use the functionality of the increment to count, but since I have to get out of each file to the following file, it starts again at 1. What is the best way to do it?
HI -.
As a prelude to 2014.0, we have added a feature allowing you to choose what number to start the increment of. Look in the section ingest Rename dialog and change your preset. When you click the button, you should see the option "Custom Auto Increment". This will allow you to choose what number to start on. We've also added a few newspapers to try to remember where let prelude last successfully interfere the operation by using this option. So, in theory, to remember the number for you. But if it isn't (maybe you want multiple kickoff ingested at the same time) you can always manually set the number to start with.
Check that out and let me know how it works for you.
Kind regards
Michael
-
Writing bug when you use the function to import .txt (Acrobat Pro DC)
I'm trying to redact large sections of a document using the function import .txt to select phrases or expressions. It works great, except if there is - or '. In this case, Acrobat bad reads the text file, per the screenshot below. If I copy the sentence from the PDF file and add it in the same manual, it seems in good condition. If I paste the Clipboard even in a txt and then import the text, he result is bad reading and so cannot find the phrase in the document.
It seems that the TXT file was done in Word and saved in Unicode format. and used quotation marks. Quotes in general are a big problem as three different characters are used for them and corresponding can be difficult; and 4 hyphen/as of the characters.
-
How to find if there is a file using the FrameMaker API?
How do we find such a file (with pdf / GST file given path) is in force in a folder given using the FrameMaker API?
You can use the function F_FilePathProperty() FDK to check if there is a way (as a FilePathT). It also provides information about whether the path is writable, readable, is a directory or a file.
.. .Scott
-
I have an iMac 27' 2012 with macOS Sierra and Apple Watch with watch OS 3, I can use the function "Log?" in Apple Watch
Hi John 2078 Tito.
I understand that you have updated your iMac and Apple Watch and now you're curious about unlock your iMac using your Apple Watch. I know that it is a nice feature to be able to quickly and safely unlock your computer, so I'm happy to help you.
This feature is available on 2013 iMacs and later versions, which means that your iMac won't be compatible. You can see more info on this feature here:
Unlock your Mac with Apple Watch - Apple Watch user's GuideThank you for using communities Support from Apple. See you soon!
-
I have been using the functionality of Firefox in which I could have multiple sets of tabs open, but only see the game I was working with. I have updated and now the feature disappeared. I had a small icon on the top right of my toolbar. I used it all the time to keep windows separated for financial, plans to travel items, news, etc.. Has it been removed from Firefox?
Hello
The feature of tab groups is always present. You can try with the button right of the + after the last tab and Customize. If the icon is hidden behind the other, or if it is available inside the mini window customize, you can put it back. If the problem persists, you can also try of reset toolbars and controls: and start to make changes and restart in Safe Mode screen.
-
Using the functionality of Panorama on the DSC - H55
What is the best technique to use the functionality of panorama Cybershot DSC - H55, press and hold down the button while slowly following the arrow or press and release the button? Move from L to R very slowly or quickly?
HI, you have limited play with the speed as you move the camera a little to get used to the speed. I know it sounds strange, but it takes a little getting used to for you to know how fast to move it to. If you move too slow or too fast, you will not receive either the scene or the camera will tell you to slow down. If you can't move the camera through any matter within the time limit, a grey zone occurs in the composite image. In this case, go faster the camera to record a complete panoramic image.
To take the panorama photo, you can press the button all the way down and release, then move the camera in the direction of the arrow. The camera records for about 7 seconds.
-
Cannot use the functions F1-12 on my Satellite C55 - A - 19 K
Hello
Satellite C55 - A - 19 K have a keyboard drivers?
I cannot use the functions F1-12 and can not get the wireless since it s on the keyboard...
Any 1 can help please?This function is not controlled by the driver keyboard, but with utilities and tools specific to Toshiba.
What operating system do you use? -
I use Windows 10 and use the Canon SX20 IS. How to use the function of Photo stich?
I use Windows 10 and use the Canon SX20 IS. How to use the function of Photo stich?
Is it possible to get the procedure to use feature stich photo?
Will be Zoombrowser EX for windows 10 wotk?
If any expert can guide me... that will be great.
Hi Sat17,
Thank you for your inquiry.
For Windows 8 and beyond, ZoomBrowser EX has been replaced by EX. ImageBrowser
Your software you will need to updated for Windows 10.
You can access the software for your camera by clicking here. Once on our site, scroll down to "Drivers and downloads", then use the drop down menu to choose "8.1 Windows" or "Windows 8.1 (x 64)".» Your camera software has not been updated for Windows 10, but for Windows 8.1 software will run on your computer.
To update your software, click the [Select] button to the right, then click on "How to download and install" for installation instructions.
-
How to open the pdf file using the LabVIEW program
I want to open the pdf file using the system exe, but this isn't the case. Can you help me?
Thanks for your help.
-
Transfer files using the Personal Communicator
All,
Can I transfer files using the cell phone?
Someone at - it a user guide and Administrator's guide on how to configure and use this installation?
Thank you
Lucian Medeiros
No, you can't. You would need for this jabber.
Q.
Cisco Unified Personal Communicator and Cisco Jabber for Windows can interact?
A.
Yes, these two clients can interact. Note Although features that are not part of the Cisco Unified Personal Communicator client. like the screenshot, video, desktop sharing and file transfer; are not interoperable between two clients.
HTH
Java
If it helps, please note
-
I have saved via a website magazine and am now unable to disconnect! It is an interactive Web site, and I am unable to use the functions, so want to close your session, as there is no button 'unsubscribe '. Thanks for any info provided.
You should contact the website of the magazine for assistance. This isn't a Windows, or a problem of Microsoft.
Maybe you are looking for
-
Equium A100-306 freezes and crashes
My laptop used to freeze and hang, I did windows recovery and reinstall windows for 2 times. At present, the problems are: The system is very slow, takes forever to come. When I use voice chat, laptop freezes and crashes. Please give me an advise wha
-
Remove values lower than the desired increment
Hello When you perform a simulation of multi-body with a step size fix that I receive some additional values smaller than the normal increment in output data or values are duplicated. The time channel looks like: 0 0.0002738 0.001 0.002 0.002 0.003 0
-
I'm not an expert c programmer, which is probably why this question is... What is the right way to use the * callbackData variable? For instance when you create an asynchronous callback or in my courts, a reminder of menu. I'm trying to pass a strin
-
I don't use MS Media Player but are struggling with it for months. It appears on my screen and will not close. I have a what in the library and get the green text on my screen indicating the next track. How can I make the two disappear for good becau
-
I had a problem for my new GE24 LG Super Multi DVD rewriter works correctly. No I have the movies I want to download and watch on my dvd player. I use DVD Memorex DVD + R 16 X 4.7 GB 120 min. should I use another brand, because those who only play on