IVI FGEN resets frequency to 1k before each run
I'm using an Agilent 33220A function generator through the IVI FGEN Standard Function. I'm using a Sweep step to step through a range of frequencies. Everything's working great except that each time I start a run, the 33220 is reset to 1kHz. (I'm sweeping from 25990 to 26010 Hz.) Is there any way to keep this from happening? I tried setting the Frequency parameter in the IVI FGEN step to 25990, but that didn't help.
Hello Steve,
There should be a VI in the 'Getting Started' example called 'Initialize with Options'. Open that VI up and see if there is a true constant wired to the 'Reset Device' terminal. If there is, that is the reason that your sweep reinitializes every time.
Thank you
National Instruments
Applications Engineer
Similar Messages
-
How to reset indicators in a control design and simulation loop before each run?
Hi,
I am new to Labview. I have tried using property node to reset indicators before each run. But since it is in a simulation loop, it gets resetted many times. I am primarily interested in resetting only before each run.
Any hint will be of great help.
Thank you!
Regards,
DivyaHi Divya,
This KnowledgeBase article describes 2 methods for resetting your Front Panel programmatically:
http://digital.ni.com/public.nsf/allkb/08E7DDAE66A7D02C86256DDA00630E75
However if you have tried these methods, and are still not getting the behaviour you want, it would be easier to help if you could post your code (or even a screen shot of the section of code where you're trying to reset your values) -
Need to 5 spaces before each paragraph and 5 lines between paragraphs
Hello,
I need to write a program to insert 5 spaces (indent) before each 1st line of the paragraph and 5 spaces between each paragraph....I am new to java so I don't understand everything I write and I try and use what is out of the book...so far have done well until this assignment. My program below does create a new history.d2 file but it is blank....anyone have any input to offer or can you help me understand where I am going wrong in the program....thank you kindly.
I am playing with the program now just to see if I can find my error but of course don't fully understand the function of every line so having trouble finding my error.....at the end of my program is the file of what I am trying to edit into the new file history.d2.
import java.io.*; //import class we need in order to read from a file
import java.util.Scanner; //import class we need in order to read from a file
public class History //class History
public static Scanner inFile;
public static PrintWriter outFile;
public static void main(String[] args) //main method
throws IOException //a pre-defined Java exception - if file history.d1 not found, throws IOException error
String inputString;
// int index;
Scanner inFile= new Scanner(new FileReader("history.d1")); //it opens history.d1
PrintWriter outFile= new PrintWriter(new FileWriter("history.d2")); //instantiates an output file with the name "history.d2"
while (inFile.hasNextLine())
inputString=inFile.nextLine();
// index=inputString.indexOf(' ');
// while (index != -1)
if (inputString.length()!= 1)
outFile.println(" ");
else if (inputString.length() == 1)
System.out.println();
System.out.println();
System.out.println();
System.out.println();
System.out.println();
outFile.close();
inFile.close();
history.d1 file:
The Abacus (which appeared in the sixteenth century) was the
first calculator. In the middle of the seventeenth century
Blaise Pascal, a French mathematician, built and sold gear-
driven mechanical machines which performed whole number
addition and subtraction. (Yes, the language Pascal is named
for him.)
Later in the seventeenth century a German mathematician
Gottfried Wilhelm von Leibniz built the first mechanical
device designed to do all four whole number operations:
addition, subtraction, multiplication and division. The
state of mechanical gears and levers at that time was such
that the Leibniz machine was not very reliable.
It wasn't until the nineteenth century that the next major
step was taken, this time by a British mathematician.
Charles Babbage designed what he called his analytical
engine. His design was too complex for him to build with the
technology of his day, so his design was never implemented.
His vision, however, included the important components of
today's computers. His design was the first to include a
memory so that intermediate values did not have to be re-
entered. His design also included the input of both numbers
and mechanical steps on a type of punched card developed in
the late eighteenth century by Joseph Jacquard to be used
with a mechanical loom.
Ada Agusta, Countess of Lovelace, was a most romantic figure
in the history of computing. Ada, the daughter of Lord Byron
(the English poet), was herself quite a mathematician. She
became interested in Babbage's work on the analytical engine
and extended his ideas (and corrected some of his errors).
Ada is credited with being the first programmer. The concept
of the loop--a series of instructions that repeat--is
attributed to her. Ada, the language used by the Department
of Defense, is named for her.
During the later part of the nineteenth century and the
beginning of the twentieth century advances were made
rapidly. William Seward Burroughs produced and sold a
mechanical adding machine (that worked!). Dr. Herman
Hollerith developed the first electro-mechanical tabulator
which used a punched card. Data was represented by holes
punched on the card in certain positions. Descendants of
this card are still in use today. Dr. Hollerith formed a
company that is known today as IBM.
In 1936 a theoretical development took place that had nothing
to do with hardware per se but profoundly influenced the
field of Computer Science. Alan M. Turing, another British
mathematician, invented an abstract mathematical model called
a Turing machine, laying the foundation for a major area of
computing theory.. The most prestigious award given in
Computer Science (equivalent to the Fielding Medal in
Mathematics or a Nobel Prize in other sciences) is the Turing
Award, named for Alan Turing. A current Broadway play deals
with his life. Analysis of the capabilities of Turing
machines is a part of the theoretical studies of all Computer
Science students.
By the outbreak of World War II, several computers were under
design and construction. The Harvard Mark I and the ENIAC
are two of the more famous machines of the era. John von
Neumann (an American mathematician this time) who had been a
consultant on the ENIAC project started work on another
machine known as EDVAC which was completed in 1950. In 1951
the first commercial computer, UNIVAC I, was delivered to the
Bureau of the Census.
Von Neumann is credited with the development of two very
important concepts. The first is that the instructions that
operate the machine should be stored in the machine along
with the data to be operated on. The second is that data
(and instructions) should be represented in the binary number
system rather than the decimal number system.
The general organization of a computer has remained constant
over the last 40 years. This organization or architecture is based
on the ideas of von Neumann and bears his name. The
essence of this architecture is sequentiality. That is,
instructions (a program) are stored in sequential memory
locations in binary form and are executed in sequence, one
after the other.Each paragraph is terminated in your text file by a newline character. So effectively what scanner.readLine() is doing is reading a paragraph of text.
1. Read paragraph into String (readLine())
2. Print or prefix 5 spaces to String.
3. Print 5x newline character
Mel -
I have a column in a Numbers document that currently contains a number and that number is different in different columns. I want to add the words "Pack Qty" before each number in the column. How do I do that? I'm using Numbers '09 on a brand new Macbook Pro. Thanks!
In an adjacent column add the formula:
="Pack Qty: "&<CELL>
where <CELL> is the cell in the same row where the quantity is,
Like:
E2="Pack Qty: "&D2
select, and hold, the little circle at the bottom right corner of the selction, then drag down -
Why RandomAccessFile inserts space before each character while writing?
Ater running the following code, the file test.txt contain:
a b c d e f g h i j k l m n o p q r s t u v w x y z
Why writeChars() inserted a space before each charecter?
How to avoid this unwanted insertion?
try {
RandomAccessFile raf = new RandomAccessFile ("c:/test.txt", "rw");
raf.writeChars("abcdefghijklmnopqrstuvwxyz");
raf.close();
catch(Exception e) {
System.out.println(e.getMessage());
}a char in java is a 16 bit datatype. (Allowing special chars like Norwegian ��� ���, German �� and many more from many languages). The ASCII system uses bytes for characters. (Allowing only 256 different chars). If you reed the file as byte you must write it as bytes as well. If you write the file as chars (16 bit cars) you must read the file as (16 bit) chars as well.
-
Apex form - asking password before each screen!
Hi
I am developing a multi-page application.
My intention is, user will specify username password in log in screen. Then a menu (tree) will be shown. Clicking on each menu item, he will navigate to different pages.
The problem is, each time user clicks on menu to go to any page, the log in prompt is coming before each page!
How can I make it so that asked only at beginning and until user logs out, it won't be asked again.
Thanxsorry,
I keep forgetting htat any html gets rendered. Please substitute the Less-than or Greater-Than sign.
(less than sign)table width="100%"greater than sign)
(less than sign)trgreater than sign)
(less than sign)td width="2%"greater than sign)(less than sign)/tdgreater than sign)
(less than sign)td width="25%"greater than sign)(less than sign)a href="#SYSTEMS"greater than sign)Systems Matrix(less than sign)/agreater than sign)(less than sign)/tdgreater than sign)
(less than sign)td width="18%"greater than sign)(less than sign)a href="javascript:popUp2('f?p=&APP_ID.:24:&APP_SESSION.:::::',900,700)"greater than sign)Budget Page(less than sign)/agreater than sign)(less than sign)/tdgreater than sign)
(less than sign)td width="18%"greater than sign)(less than sign)a href="javascript:popUp2('f?p=&APP_ID.:25:&APP_SESSION.:::::',925,700)"greater than sign)Project Milestones(less than sign)/agreater than sign)(less than sign)/tdgreater than sign)
(less than sign)td width="18%"greater than sign)(less than sign)a href="javascript:popUp2('f?p=&APP_ID.:26:&APP_SESSION.:::::',925,700)"greater than sign)Project Activity Reports(less than sign)/agreater than sign)(less than sign)/tdgreater than sign)
(less than sign)td width="18%"greater than sign) (less than sign)/tdgreater than sign)
(less than sign)/trgreater than sign)
(less than sign)/tablegreater than sign)
Don. -
My phone screen is cracked and my LCD is broken. I need to reset to factory settings before I discard it, how can I do this? I was able to get it into recovery mode, I unconnected it from my Find my iPhone (i couldn't erase that way because I can't connect to WIFI with the screen not working). I clicked restore iPhone from iTunes, but it's been sitting on "Contacting the iPhone software update server..." for over 40 minutes. Should I restart this process or is it supposed to take a really long time? Thanks!
My phone LCD is broken and I need to reset to factory settings before I discard it like how you did earlier but how do you got into recovery mode to unconnected it from your Find My iPhone as I can't connect to WIFI with the screen not working?
-
My Trackpad speed and Highlight Color keep reseting to their defaults after EACH restart.
My Trackpad speed and Highlight Color keep reseting to their defaults after EACH restart. I'm running OS 10.8.2. I had other problems with a previous admin account, so I created a new one, in which I'm having this problem, and deleted the old user acnt.
Please HELP!Keyboard and mouse preferences are stored in the following two plists:
com.apple.systempreferences.plist
com.apple.universalaccess.plist
EE -
Add the title before each Report
Hi Experts,
For a requirement I need to combine 3 reports into a single template using Web application designer,
The title should display for each of the reports.
I do not have any standard template.Its a combination of 3 reports and is displayed in the same page.
My requirement is to how to add the title before each of the 3 reports .
Many Thanks,
Vijaya.Hi Vijaya,
You can have the Analysis or the Table item with a Tray. i.e; You can enter a name for the report in the Tray.
You will find the Tray in the Properties of the Web Item. Its mainly used for naming purpose.
Or else you can have a Text Web Item corresponding to each of your reports. 3 Report 3 Text items. Text item is found in the Standard Tab in WAD 3.5 or under Misc. Tab in WAD 7.
Bind the Text Element to the respective Reports and give it a name.
Place the Text item above the report in the template.
Cheers,
Tanish -
I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
Cheers, Tom -
This is just an added feature that I would like to insert because I end up having to erase the previous graph(for viewing and simplification purposes) after almost every plot cycle. Does LabVIEW 7.0 have a built-in feature that allows the user to automatically clear the graph after each run.
Thank you,
Keith BlackwellMay I recall you that to clear a graph you have to create a property node,
choose value and connect an 1D array with its first value to zero.
Then using a Select vi enables you to choose from clear or graph value.
Gérard
Gérard Férini
Switzerland
http://home.tiscalinet.ch/gferini/
remove -move to reply personally
"Greg McKaskle" wrote in message
news:xEmJc.43762$[email protected]..
> > I went into the function pallette-->signal manipulation-->align and
> > resample
> >
> > and found something that may be useful, but I'm not sure how to use
> > it. I guess I have to play around with it by trial and error. Was this
> > the VI seetting that you were referring t
o?
> >
>
> The option I was talking about is for the entire VI. It resets the
> value of all indicators prior to running. The setting is located in the
> VI Properties dialog on the execution page I believe. In the end, there
> are multiple ways to get this to work, and if you want just a few
> indicators to be reset, you want to use locals or control methods, but
> th eVI Properties is a convenient way to get all indicators cleared at
once.
>
> Greg McKaskle
> -
How to schedule a job to run after completion of each run using DBMS_JOB ?
Hi Gurus,
Please let me know if the subject requirement can be fulfilled. I want to schedule a job using DBMS_JOB to run a script sequentially after completion of each run.
Thanks in advance.
SantoshHi Santosh
Instead to use the old dbms_job package use the dbms_scheduler and raise / catch events.
Oracle create dbms_scheduler also for this purpose you need.
You can find tons of examples on the web.
Aurelio -
With multiple devices (.g, .n, .ac) will the Time Capsule degrade to the lowest speed, or will each run at the highest rate it is capable of?
Highest rate capable.
Things may slow down a bit if you have a number of wireless devices connected simultaneously, since they must all share the same network bandwidth. -
How do I get my controls and indicators to clear after each run of the VI?
I am using LabVIEW for my Senior Design Project in EET for Purdue University-Indianapolis. After each run of my VI, I want the controls and indicators to go back to their default state (cleared). I don't see an option for this. For example, I have a password VI that allows a user to log in. Once this sub-VI is rerun, the password from the previous user is still there. How do I clear this??? after each run???
Thanks, DUse the property node and invoke node to clear.
In your block diagram,
Function Platte.
>Application Control
>>Invoke Node
Then right click the invoke node..
>From "select VI server class" option
>>choose "VI"
Then right click again
>From "method" option
>>choose reinitialize all to default
That will reinitialize all your value to default
if you want to reinitialize only your password to default then its simple
right click the invokenode agian
>From "link to" option
>>Then link your invoke node to any control or indicators
I attach one simple file for you
Hope that will work..
Saw
Naing Aye(Maymaythar)
Attachments:
reinitialize.vi 14 KB -
Increment date parameters on each run
Hi,
while scheduling concurren requests. we have option like
"increment date parameters on each run"
what exactly the meaning of the aboveCheck the following thread:
schedule purge program
schedule purge program
Also, have a look at:
Note: 151849.1 - Scheduled Periodic Concurrent Program Runs One Time Only
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=151849.1
Maybe you are looking for
-
This post is not a help request. It's just a sort of poll or curiousity question. Would you agree to let java (by means of new api and jvm support of them, obviously) have lower level features? Java VM works on every system, through native code, or b
-
IPod touch 2g freezes at start up ipod logo and does not connect to itunes
Hey, so my iPod touch 2g freezes at start up ipod logo when in the charger. Then when off the charger after a couple minutes it goes black. when i connect it to my computer does not connect to itunes so i can not restore it. please help!!!
-
Sending PO as PDF to multiple recipients
Hi, I have to out put the PO as pdf and send it to mulitple recipients. I am taking the standard program and copied to z program and i did some modifications in it. i am able to send the PDF as attachment in a mail and its working fine. Now requireme
-
Access external database views on different tablespace
Hi everybody, I'm trying to access a external Oracle database (dbcon entry is set successfully) and read data from a view wich does not belong to my schema. In other IDEs the statement is simple: select * from schema.view In ABAP the code looks like
-
Invalid Checksum Error for Photoshop Elements 10 installation
I have tried installing Photoshop Elements 10 on my Macbook but I got an "invalid checksum" error (saying that the following disk images couldn't be opened). Was there a previous solution to this type of problem?