Basic Function Generator
I produce a sinus-signal with the basic function generator
and i would like to write the x- and the y-values in a simple file
for comparison with values in other files.
First i used the "write measurement file" and i could write it
properly in a *.lvm-file, but i would like to have it in a *.txt
respectively in a *.log-file.
But when i try it with arrays_functions or waveforms_functions
i always get only the y-values, sometimes x(0) as a time-stamp
but not the proper x-y-values.
Thanks for your help!!!!
Janina
Here's something that should work. Since you want time as HH:MMS, everything has to be a string.
To save to a single file every day, you will have to add some code that looks at the current date/time. For example, you could convert the date/time to a string and make it part of the file name.
Attachments:
Save Time and Data.vi 20 KB
Similar Messages
-
Basic Function Generator does not return current time stamp
The Basic Function Generator .VI file does not return the current time stamp.Instead it counts from 1904.
Is there a solution to this so that the basic function generator returns a current time stamp?"Is there a solution to this" ... yes, if you expand that to include "workarounds":
Attachments:
Example_VI.png 5 KB -
Oscillioscope and function generator
Hello,
How difficult is it too create a virtual oscillioscope and a function generator that outputs through ethernet or usb to some NI module (Chassis, analog, digital etc) that will send signals to a circuit? So, basically instead of having an oscillioscope or a function generator, you create a virtual one on labview and can send signals to the circuit in the real world. Is that even possible? And if it is how hard do you think the task would be?
Thanks in advance for all the input!So I happen to have a myDAQ at home and I thought I would try to use it as a scope. Checkout this video after a 1:30 for a demo of some of this software. The software it comes with has all the test panels for various instruments for scopes, DMM, function generator, aritrary waveform generator and several others. The hardware also appears as a normal DAQmx device if you so choose to write your own software.
Honestly it isn't half bad. Maybe it's because the software mirrors normal scope functionality but I was able to see my signal and understand it, when I had no other hardware that was capable. It won't replace a desktop scope but it's what I had on hand.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously. -
Sending .arb files to function generator
Hi
i am very fresh to labview programming.
I have created some waveforms using HP BenchLink software(and saved in .arb file format). Can i send these wave forms to a function generater through Labview program . if possible how can i do that
Thanks
jithHi
Yes i have downloaded the driver ag3xxx and installed . and also got some advise from [email protected]
Their comments follows .
Yes you can read the values from the .arb file into LabVIEW and store
the values in 1D array or text file and then send it to the function
generator you are using.
Basically you would have to use APIs such as read from binary
file(there are examples present in LABVIEW example finder which shows an
example of how you could read a binary file.) After reading from the file
you could store its values in an array or a text file and the read from
this array and send the data to the function generator you are using. If
you are using a function generator which is not made by National
instruments you have to install the device drivers for that instrument fro
LABVIEW, you could install them from www.ni.com/idnet.
i have used some eg: programmes given in LV to read binary files .
The function name is "read binary files vi " . the out put of "read binary files vi "
is data . I am trying to store this data in an array , but got stucked , in finding
a sutable function to send this array valuse to the function generator. Can i send
the array out put directly to a FG ?
Thanks
jith -
Is it possible to use USRP as a function generator ? If yes can any one please provide me the sample VI. I want to generate Sine wave, Square wave, Triangular wave etc. Also I need the option to vary Frequency and Voltage. Is it possible to implement Function Generator mechanism on USRP using LabView? Please guide.
Hello josephkirmani,
When you say you want to use the USRP as a function generator, do you mean you want to be able to output and send a function over a certain RF carrier frequency? If so, I think you might find the example below helpful, it uses frequency modulation (must have the modulation toolkit installed) in order to embed a signal of your choosing (square, sine, triangle…) into a FM modulated waveform to be transmitted over a specified carrier frequency. Just switch out the Basic Multi Tone.vi for your preferred function from the Waveform Generation Palette. If that’s not what you are trying to do, please clarify.
Example: https://decibel.ni.com/content/docs/DOC-24206
Matthew R.
Applications Engineer
National Instruments -
I have XP Pro SP2, Audigy DE and just bought Inspire 5.1 Digital 5600 to upgrade from my cheaper analog 5.1 speakers that sounded OK and worked fine. Using S\C Digital out to din to din to din. (Their is no option for connecting SC anolouge outputs)
1) Is their any way to hear similtanious Dolby Digital and PCM Audio ie System Sounds?
2) Is their any way to connect SC anolouge outputs to the 5600 for 5.1 (to fix above)?
3) Is their any way to have digital and anolouge outputs on the Sound Card working at the same time?
I feel ripped of. I spend a fair bit of money, and loose the basic functionality of being able to hear all computer generated sound similtaniously! Thats going backwards, not forwards. I researched these speakers a lot, and no where was I told of this inacuseable situation!
RobI have XP Pro SP2, Audigy DE and just bought Inspire 5.1 Digital 5600 to upgrade from my cheaper analog 5.1 speakers that sounded OK and worked fine. Using S\C Digital out to din to din to din. (Their is no option for connecting SC anolouge outputs)
1) Is their any way to hear similtanious Dolby Digital and PCM Audio ie System Sounds?
2) Is their any way to connect SC anolouge outputs to the 5600 for 5.1 (to fix above)?
3) Is their any way to have digital and anolouge outputs on the Sound Card working at the same time?
I feel ripped of. I spend a fair bit of money, and loose the basic functionality of being able to hear all computer generated sound similtaniously! Thats going backwards, not forwards. I researched these speakers a lot, and no where was I told of this inacuseable situation!
Rob -
VB/C# Function Generator Example
Hello,
I have a NI-5401 Function Generator and a NI-5112 Digitizer for hardware. I would like to use C# to output a signal from the Function Generator to the Digitizer and see the results on the CWGraph control. Is there any sample (in Visual Basic if C# not available) that demonstrates the appropriate ActiveX controls and some basic functionality similar to this?
Thanks in Advance!
DerekHi,
You may want to take a look at the following:
C:\VXIpnp\WinNT\nifgen\Examples\VisualBasic
Sincerely,
Sastry V
Applications Engineer
National Instruments -
Disappointed by missing basic functionality
I recently started working with Muse, and got frustrated by the fact that there seemingly is no Show/Hide functionality.
Also, am I correct to say that there is no direct import for Mp3/4 media? If so, why not?
Lastly: if InDesign can have basic animation options, then surely it wouldn't be so hard to include it in Muse.
Muse works great, but I am quite disappointed by this lack of basic functionality.
CobusThanks for your response.Yes I agree with you - I put my expectations in the fact that Muse is developing fast.
However, what I'd regard as a very basic feature for any interactivity (show/hide), is missing. Instead of having abutton that can show or hide icons on a map, I now I have to create a duplicate of the same page that don't show them. So when a user click the button, another page first has to load!
Clumsy and stupid.
Thanks for the link - I'll have a look at it.
Regards
Cobus -
Basic functions (high) in query formula for highest # of days past due
Hi All,
I hope you can help. I am trying to create a formula in a query for FIAR Line Item Cube (0fiar_c03). I would like to calculate the hightest number of days past due for open line items. There is an operator 'high' in basic functions within the query formula. Is it possible to use this?
Regards,
Cheryl AdamonisThere is a workaround usind conditions.That is you can try to filter the top 10 % or top 10 after calculating the no of days past.However this way you will not be displaying complete dataset
-
I am going to run tests that require an actuator to move using various types of arbitrary waveforms such as sine or square. The NI 7344 is hooked to the UMI that is going through a driver for a servo valve. The loop is analog and it is closed. I have played with some of the examples but can't get it to work. I have used the function generator VI to generate a signal but I think I am using the wrong input VI to the motion control board. When I use what I have it moves the servo and then stops. It doesn't continually generate the signal.
I would love to use the controls on the function generator vi to control frequency and amplitude ect. Any help or pointer would be helpful. Thank you in advance.Hello,
I'm not clear on exactly how you want to use the generated data but I'm assuming they will be used as your target points.
There's a built-in example for motion called 'One-Axis Contour Move.vi'. This example demonstrates how to provide your target points as 1-D array. All you need to do is to replace the input array with the output of the function generator. In order to have it run continuously, use a while loop. You can further program your application so that it'll change the waveform on the fly by monitoring the user interface but this might be little little tricky as you will need to reset the move and load the new generated points while keeping track of your current position.
I hope this helps. Let me know if you have further questions regarding this
application.
Best regards,
Yusuf C.
Applications Engineering
National Instruments -
Question: I am new to LR and have it set up on a Mac desktop and laptop. On the laptop, the Basic function under Develop simply disappeared. I am lost. Help.
It's a common issue. The Basic panel is merely hidden.
Hiding/unhiding panels is actually a feature of Lightroom but it is unintuitive - few people know it exists - so most newcomers are thrown when a panel somehow gets hidden.
Right-click anywhere in the right hand side panel area and a context menu will appear.
Click the Basic option to make the Basic panel re-appear. -
How to read data from a GPIB when sending a function generator command
I'm using Visual C++ with the ComponentWork ActiveX and I'm tring to plot a
CWGraph using the data coming from a GPIB device. When I write command such
as "*IDN?" to the GPIB device, everythings if fine and I can read what the
GPIB device return me. But when I send a command like "SOUR:FUNC SIN;SENS
DATA?", the writing seems to be okay, but when I try to read the data, I
alway get a "Timeout expired before operation completed" error message. I
have tried with the CWGPIB and with the CWVISA but the result are the same
with both.
My reading code looks like this:
COleVariant vReadBuffer;
vReadBuffer = m_VISA.Read( COleVariant( (short) 2000 ) );
and it work fi
ne for "*IDN?" or for multimeters command.
I want to know how I must read the data for function generator commands.
Thank alotIt sounds like your device is not accepting that command string as valid. The string you listed above is probably missing a colon between SENS and DATA. "SOUR:FUNC SIN;SENSATA" Try sending this string in Measurement & Automation Explorer to the instrument first to make sure it is working.
Best Regards,
Chris Matthews
Measurement Studio Support Manager -
Basic functions and functionality missing from Safari 4.0
Just trying to move to Safari from Firefox. The Develop tools cinched the move (hidden by default! Huh?).
After all the years, I cannot believe Apple still haven't fixed some basic requirements of a web browser.
1. Cannot find anything similar to Live Bookmarks (for viewing RSS feed headings). This makes RSS bookmarks far less useful (more or less useless, in fact, as you may as well have an ordinary bookmark and visit the site).
2. All new links "seem" to open in current tab. Making tabs more or less useless. What's the point of having them if all new links open in current tab by default? Only way I can open in new tab is by holding down Command EACH time I click a link. Doh! Who thought of that default? A simple option that asks you if you want to open ALL new links in a new tab OR window is the expected behaviour -- to override, hold down a key.
3. Cannot reorder bookmarks alphabetically (unless I have overlooked option). Couldn't do that waaaay back when Safari came out and still cannot years later.
4. Adding bookmark opens bookmarks bar. Have you seen my bookmarks bar? Anything above 10-20 and the list takes years to find a target folder. While I can drag URL into a top level folder on the bookmarks bar, what if I want to add it a subfolder? Add 500 bookmarks and then try scrolling the list.
5. Cannot open bookmarks and view a page at the same time! At times you just need something simple. While cover flow may be useful "sometimes," here it just gets in the way. Why not have two versions? Simple (view bookmarks and page at same time); Complex (a link that navigates away from current page and shows bookmarks with cover flow)?
Apple, please fix ASAP. What's the point of having fastest browser if basic functions are overlooked (some overlooked since Safari first came out)?Post you report in Apple Bug Report. This is only a user to user forum. But at the same time I think some of your issues are easily addressed and will be shortly by other users.
Cheers -
I wish only to put a premade playlist onto the IPod. Sure, it's an older IPod, but seriously, basic functionality has been lost in updating. I don't want a work-around, I want ITunes to cater to the users. I do not want to re-select, song by song, a large playlist, I want to put a playlist on my IPod. Why must this be a difficult task?
Also, I cannot edit the playlist. Once it's on there, it's on there for good.
-
After several years I stop using Dreamweaver, Adobe focus on basic functionality!
First, sorry for my english its not my native language.
DW is my favourite editor but after several years I stop use this product because its crap... sorry about that but its true.
All my live I create websites, I never doing something else so I know what pro user really needs, but absence of basic functionality is main reason to leave DW and start to use PHPstorm.
Brackets and tag highlighting is still missing in DW, Adobe think about it.... in some cases its hard to use it.
Bye DW and thanks!You shouldn't need to export anything, though I don't know what they do these days for trial version restrictions. You should be able to save it to a disk directly using Save As (at this stage since it's already saved most likely).
To save a copy of it as a CS3 file, again, you choose Save As, and in the bottom of the file saving interface you should be able to select CS3 from the lower drop list. I don't know what Macs come with for zipping files. On Pc's these days you simply send the file to a compressed folder via a filename--when you right click it a menu appears with that as an option.
At this stage I figure it likely has to do with whatever tweening you do for the buton mc's, but I'd be guessing even more to try to tell you what to try. It will probably involve having to move your event listener assignment code and that could get a little tricky. It'll be easier for me to try it out than to take you thru each possible approach.
So see if you can save a CS3 copy of it (change the name so you don't lose your current file) and let me know... if you can compress/zip it, better chances the email servers will process it. If so, I'll send you my email address via a private message.
Maybe you are looking for
-
How to delete the file with space in name
Hi I want to delete the file "test ex.txt" file. i run the following command in command prompt.i can delete the file successfully. /bin/rm -f /mnt/"test ex.txt" I want to run the command from java.So i am using the following code String cmd = "/bin/r
-
How do I move my data from internal HDD to ext. HDD to upgrade internal?
Hello, I just got a 500GB internal HDD to upgrade my 120GB internal one right now. I also purchased a TB external HD to use for back ups. My question is this: What is the easiest way to back up/move my entire 120GB internal HDD data to the TB externa
-
Query for Software Updates Reports Install Date for only Some of the Installed Updates
We use the following query to retrieve a list of software updates for a specific collection and software update group. There are many cases where the installation status of a software update is 'installed' but there is no corresponding 'install date
-
Email sends correctly but shows with a 'Red X' on it with an undefined error
As the title, for the past few days when ever I send an email a red X appears by the email with an undefined error. The email sends correctly however. No changes were made that I am aware of. Any suggestions on what this is?
-
An error has occured while downloading Mountain lion from app store
Since apple denied my purchsed proof, I don't really know what is going on? Maybe I claimed the copy late, I am ok with it then I puchased from App Store, but download failed? I keep trying on whatever solution here but not working at all, can anyone