Use hardware to generate a certain number of pulses using PXI-5652
Is it possible to generate a certain number of periods (turn on the output for a predetermined amount of time using hardware with micro-second resolution) using the PXI-5652.
Hello Matt,
If you had a Vector Signal Generator, this would be more controllable using something similar to this forum.
Otherwise, the only way to control time on the 565x would be to use OOK modulation scheme. This will allow you to turn on the signal for a little time On and Off.
There is a shipped example called "565x Digital Modulation.vi" (on versions 1.3 and later of the RFSG driver) that can perform this task. Basically it uses the function named "niRFSG Configure Digital Modulation User Defined Waveform.vi" to write the user bit sequence and with property nodes you will configure the OOK scheme and the symbol rate (refer to specifications of your card for the possible values).
Hope this helps,
Gerardo O.
RF Systems Engineering
National Instruments
Similar Messages
-
How do I send out a certain number of pulses
I am using the E-Series DAQ board, and in my programing I have three stages, I need to send out a certain number of pulse depending on the stage selected. For example if stage one is selected 30 pulses will be sent out and thats it. The pulses will be used to move a stepper motor. The stepper motor is a linear stepper so the pulses will be used to move the shaft 1 inch or 3 inches, depending on the stage selected.
It sounds like you want to generate a "Finite Pulse Train". Depending on which programming language you intend to implement this with (LabVIEW, LabWindows/CVI, Measurement Studio for Visual Basic or C++), we probably already have an example written. From our website at www.ni.com simply search for Finite Pulse Train. You will want to only use examples that have been written for the DAQ-STC chip, which our E-Series DAQ devices leverage.
The finite pulse train examples will show you how to output a finite pulse, of say 30 pulses, as well as configure the frequency and duty cycle.
Regards,
Justin Britten
Applications Engineer
National Instruments -
How to use PXIe 5652 as external clock to the USRP
Hi,everyone,I'm new to PXI and USRP,and there are some problems I want to ask for help.
What I want to do is to synchronize 8 USRPs which are used as receivers. To make sure they have the same crystal oscillator, I want to use the PXIe 5652 as the external clock.However, what confuse me are that PXIe 5652 has 3 connector(RF out, REF in/out, REF out2), and USRP 2920 has REF in and PPS in, how to connect them? Wheather I need to connect the PPS in to achive my aim? And,if it is needed to write some labVIEW programs to make PXIe 5652 as the external clock? that's all,thank you!Hi,
To provide a external reference frequency signal I think the following method can be used.
Use the niRFSG or niRFSA Export Signal VI to export the "Reference Clock" signal to "RefOut" or other appropriate output terminal.
Use the commit VI to commit these settings to the driver.
For ease you may use one of the existing RFSA or RFSG example VIs and add the export signal and commit VIs.
When the VI which opens a session to the RFSG or RFSA device is run the reference clock signal shall be exported to the configured terminal of the RFSA or RFSG device.
You may then connect this terminal to the Ref In terminal of your USRP device which you would have configured to use a external reference frequency source.
This method works for the VST which I use.
Thanks. -
I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel receive the same message.Some one can tel what to do please? Thanks
Hi Memalyn
Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
Let us know what you find out, and if you manage to get your space back.
Matt -
How to generate new perner number using Abap Code in pa0002. what is the fu
how to generate new perner number using Abap Code in pa0002. what is the function Module used.
hi
define internal number ranges for ur implementation then when u run PA 40 do not input any employee number , system will generate the employee number automatically.
Regards
sameer -
USING WEBUTIL TO READ TEXT FILE INTO TABLE HANGS AFTER CERTAIN NUMBER OF RE
Dear
when we use webutil to retrieve data from text file into database table
(using text_io) it hangs after certain number of records ( approx. 1300
records) while the total number of records to be inserted in the table exceeds
12000 records while it works properly on forms6i with the normal text_io any
help please...?
thanks and regardsWebUtil uploads the files as Binary - so yes you could have some issues if you have a Unix host - however, that would only mean that there is an extra character to trim off of the end of the line read by Text_io.
-
Is there a way using core foreach for generating decreasing sequence number
how to generate decreasing integer number like 20, 19 ... using jstl c:foreach. I've done like :
<c:foreach var="count" begin="20" end="1" step="-1">
<c:out value="${count} />
</c:foreach>
{code}
I came to know that we can't use step < 0...I came to know that we can't use step < 0...Because the spec says so, thats why. Its probably to do with the fact that the forEach loop is used for multiple things, and using step="-1" would create some strange errors iterating on some things - eg Result Sets
<c:foreach var="count" begin="1" end="20" >
<c:out value="${21 - count} />
</c:foreach>{code} -
Need SQL statement to generate a sequence number in the output rows
Hi folks. I need to create an SQL statement that generates a sequence number column in the output rows (records) such that the first returned row has this column set to 1, second returned row has the column set to 2, etc.
For example, consider the query:
SELECT income from employees WHERE income != 20000 ORDER BY income;
If employees.income contains 60,000, 20,000, 35,000, and 19,000 for respective rows, the output would be this:
19,000
35,000
60,000
I would like the SQL to also return a sequence number that is computed across the returned rows, resulting in two output columns:
1 19,000
2 35,000
3 60,000
Is there a simple SQL function that generates the sequence number, in order, and only for the returned rows? Or is there another way?
I'm stumped. Any help is appreciated! Thanks!
- Jack CochraneHi,
Welcome to the forum!
Use ROWNUM, like (example):
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as hr
SQL> select rownum, first_name from (select e.first_name from employees e where e.first_name like 'J%' order by e.first_name);
ROWNUM FIRST_NAME
1 Jack
2 James
3 James
4 Janette
5 Jason
6 Jean
7 Jennifer
8 Jennifer
9 John
10 John
11 John
12 Jonathon
13 Jose Manuel
14 Joshua
15 Julia
16 Julia
16 rows selected
SQL> But rememeber if you want to be sure of unique numbers in certain field is better to use sequences and use seq_name.nextval each time you need.
Regards, -
How to use counters of PCI 6251 to count the number of pulses
Hello,
I have inputs from an optical encoder {pulse train} and i need to count the number of pulses for a short period of time to estimate the speed of the DC motor. Could you please tell me how to use the counters in PCI 6251 DAQ. I found something on DAQ STC, whichs says the input pulse should be connected to PF0 {ctr source}, but i have query where do i get the output {number of pulses counted in a particular period of time}.
Looking for your reply.
Thanks & Regards,
bsnrHi bsnr,
Thanks for the post!
In MAX (Measurement and Automation Explorer), if you find the device (DAQmx devices) and right-click, you can select pinouts - which should contain a table telling you which pins are what PFI lines.
Then, in labVIEW, you need to generate some code to use the choosen coutner in a task to count digital edges. If your not sure on this, go to Help>>Find Examples>>Hardware I/O>>DAQmx>>Counters.. and take a look at some of the code provide.
ps. It seems (maybe just your wording), but your expecting the counter output pin to provide the number of counted edges - this isn't the case.
Please let me know what you think?
Kind Regards,
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! -
How to count number of edges using PXIe-6363 Counters
Hello,
I am trying to count number of edges in a test signal in a 50 ms duration. I am using PXIe-6363 card and connecting the test signal to CTR 0 SRC (PFI 8). Is it a correct connection? What else do I need hardware-wise to make a correct set up for this application?
Thanks
Jeet
Solved!
Go to Solution.Hi Jeet,
When you say interrupt signal, do you mean a pulse that will pause your counter task? If that is the case, and you want to pause your task with a digital pulse, you need to use the DAQmx Trigger Property Node and set that to Pause, Trigger Type. As you said, you can connect that signal coming from the chip to any PFI line and then set that line as the source of the property node.
There is an example that you can use that does exactly what I just described. This example is called Count Digital Events-Pause Trig.vi, and you can find it by going to Help>Find Examples..., then on the NI Example Finder window go to the Browse tab and navigate in the folders to Hardware Input and Outpout\DAQmx\Counter Measurements\Count Digital Events.
Regards.
Jorge
Applications Engineer
National Instruments
Certified LabVIEW Associate Developer (CLAD) -
Select from table in group of columns and generate a sequence number
I have to select data from a table in group of columns and generate a sequence for every group resetting the sequence to start from 1 onwards.
For example:
Data:
Col1 Col2 Col3 Col4
A NA KA 2009-08-13
B NA KA 2009-08-13
C NA KA 2009-08-13
A NA KA 2009-08-13
B NA KA 2009-08-13
A NA KA 2009-08-13
Expected output from Select Statement:
Col1 Col2 Col3 Col4 Seq_No
A NA KA 2009-08-13 1
A NA KA 2009-08-13 2
A NA KA 2009-08-13 3
B NA KA 2009-08-13 1
B NA KA 2009-08-13 2
C NA KA 2009-08-13 1
How can this be possible with a SELECT statement? Is it possible to assign seq numbers for a group of columns and reset it when it changes? In the above example, all columns form the key to generate the seq number
I know it can be done using Stored procedures and that is how I am doing it now by introducing a temporary table.
Can anyone help me in this regard? Please let me know if the question is vague to understand!
Thanks,
Nachiwith t as(select 'A' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
union all
select 'B' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
union all
select 'C' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
union all
select 'A' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
union all
select 'B' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
union all
select 'A' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual)
select t.*,row_number() over (partition by col1,col2,col3,col4 order by col1,col2,col3,col4) from tYou can replace partition by col1,col2,col3,col4 with only columns that you need for grouping condition
and also order by you can just do on the column you need. -
How to display a certain number of channels...
Hi!
I am using LabVIEW 8.5 and I am trying to display a certain number of channels using multiple channels ...
I can display them in a graph, but I am displaying the 16 analog input channels
that NI 6024E have and I need to display only the channels that have something
connected to them (I do not know which channel will have something connected to
it). If they have a signal (temperature), I will like to display that channel/s in a graph and save that channel/s in a txt file. If not
I do not want to show or save the channel/s.
How can I do that using DQA Assistance?
I am able to do all this using one channel, I can display in
a graph, I can save it in a txt file, but I am not able to do it for n number
of active channels only. Any advice or suggestion will be appreciated.
Sincerely,
Julieta.
Solved!
Go to Solution.Hi,
I am trying to give the user the opportunity of selecting how
many channels he/she want to connect to the board… Now I only have two channels and I know what
those channels are, but I want to do something that allow the user to select
the channels that he/she needs (maybe the 16 or maybe only 3 or 7). I saw that
in older versions of Labview there exists in Analog Input a “AI MULT PT” that
maybe could allow me to input there specific channel (I am using 8.5 version of LabView).
I am doing this to detect the channels, but it is not even
close of how it supposes to be, because the user can not select… I just want to
display the channels the user select and calculate the mean only for those
channels.
Any suggestion advice will be appreciated…
Sincerely,
Julieta.
P.D.: My English is not so good…
Attachments:
Temperature.PNG 15 KB -
How to get checkbox checked when sum equals a certain number
I have created a spreadsheet with 25 rows that will have numerical entries. How do I put in a checkbox that becomes checked once the sum of the numbers Un that row equals a certain number?
Thanks in advance.A hack would be to use CHAR. You have thousands of symbols to choose from. I scanned through some and found a check (there are many more which might better fit your needs).
So, if your numbers are listed in B1:B25 and 100 is your magic number, then:
=IF(SUM(B1:B25)=100, CHAR(10004), "")
or something like:
=IF(SUM(B1:B25)=100, CHAR(10004), CHAR(10063)) -
How to generate external network number based on WBS element number
Hi all(experts)
I am new to PS and I have a requirment.
<u>To derive network no. from WBS identifier.</u>
Enhancement is CNEXOO12
Function module is EXIT_SAPLCOKO_002(data transfer for Network number).
I wnat to know how to use the above enhancement to generate external network number based on the WBS element number. We have to take the Project number and extract the part of the name from it and then assign it to NETWORK and ACTIVITIY under it. The above also depends upon the project type.
Please let me know the fields\structures\tables that are needed and available during runtime in this Function module exit. If possible with some examples.
Thanks for your time.
SHHi Karthik
Thanks for sending me the table relations.
Can you please help me with the following.
1) Can you please expand the table relations with an example because when I am doing a relation I am not able to get the AUFNR fromAUFK-->PSPEL because the there are four levels of WBS in the Project and if I plug the first level WBS from the PRPS there are no table entries found. if I put directly the WBS(fourth level X-yyyyyyy95.xxxx10.10.2) in the AUFK-PSPEL table it works and I get the AUFNR.
2) Can I do retrieve the network number from the sales order(KDUAF).
Please suggest.
By enhancing this CNEX0012(EXIT_SAPLCCOKO_002) which transactions in PS are affected.
Please reply at your earliest.
As always thanks for your time and your help
SH. -
How to generate the batch number for group of records
Hi All,
requirement: i have created one sequence to generate the batch numbers.i have to get the nextval of the sequence for batch number (this column is not part of the table. its dynamic column/alias column) only for every 50000 records of a table.
detail description:
for example, if i have 10 records in a table. And, if i want to generate the batch number for every 2 records, then the output should look like belo.
batch-number qty
1 10
1 20
2 30
2 40
3 50
3 60
4 70
4 80
5 90
5 100
Please help me on this. Please let me know if you need more info.one more update on the above request. this has to be done using SQL query only.
Maybe you are looking for
-
Word 2000 hyperlinks don't work in .pdf created with Acrobat 9 Pro
I'm new to Adobe Forums, so please overlook the effrontery of my posting a query previously discussed. Perhaps someone can simply reply with a link to the prior discussion. I have installed Acrobat 9.2 Pro in 2 computers, one running XP64 Pro, the ot
-
Error ORA-01017 happened when dbms_scheduler run a job.
Hi All, I got a problem when I use dbms_scheduler to run a job. I got Error code 1017 when the job is run by scheduler. Please find my steps below: Oracle version is : Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production 1. Cr
-
I cant write a review in itunes store
Why suddenly i cant write any review on any app i downloaded?it says i need to download the app before i can make a review even if i downloaded the app over and over again, cant find any solution
-
Oracle Database Standard Edition One's Cost
Dear all I am very interest on the Oracle Database Standard Edition One, (US$149 per user (minimum five users)) includes the functionality and the cost (only US$ 149*5). However, I would like to know that is there any hidden cost for it? (e.g. mainta
-
Dirsync - does it have to be done at forest level?
Hi, Scenario: Single Forest 3 Domains (DomainA, DomainB, DomainC) Each domain has a separate Azure Tenant, the key is not to have user "bleed" between tenants thus only users in DomainA are in AzureTenantA, users in DomanB in AzureTenantB etc. As I