Rate acquisition of module 9215
Good Afternoon
I'm developing a project that consists in acquisition of voltage signals using a CRio 9074, with four modules 9215. I've developed a code based on the examples provided by NI, they are in appendix, but when i define my sample time of 10usec (100KHz), to adquire a sine wave with a frequency of 100Hz, with 1000 samples, my waveform graph should give me one period of the sine wave with 100Hz. Instead the waveform graph is give me a aproximatly 10 periods od the same sine wave. Can someone, explain me why i have a factor of ten when i should had one period instead, because this factor is present if i change the sample time and/or the number of samples. In appendix i've send pictures of my FPGA and HOST code, with a execution to try adquire a sine wave with 100Hz with a sample time of 10usec( 100KHz) with 1000 samples.
Thanks in advance
Attachments:
HOST_CODE.jpg 133 KB
FPGA_CODE.jpg 77 KB
Waveform_graph.jpg 506 KB
Hello
I've solved the problem of acquisition time, using the code that i put in appendix. I've made some tests, to validate the code, and seems to work fine. I'm now try to understand the reason why two different modules aren't synchronize. I've put the same signal in two different modules, and they have one sample delay between both signals, and i'm trying to understand why. If you have any suggestion it would be much appreciated.
Best regards
Attachments:
FPGA_code.png 26 KB
Similar Messages
-
Hi Friends,
Could anybody please tell me what are the " Exchange rate, & Plan exchange rate " Programs & Function modules.
If any customized also , I can do modify and i will use it.
Thanks in advance,
RameshHi there
Exchange rates are used for currency conversion rules in queries, data loads, etc.
You can export exchange rates from R/3 (or other system) to SAP BI, and change them or define your own exchange rates.
For planning, you can create exchange rates specifically for that purpose.
In currecny conversion rules you can tell the system which exchange rate to use (for example EURX from EUR->USD)
To view/mantain exchange rates go to transaction SPRO->SAP Reference IMG->SAP Netweaver->General Settings->Currencies->Enter Exchange Rates
Diogo. -
Hi Friends,
Could anybody please tell me what are the " Exchange rate " & Plan exchange rate " standard programs, function modules avaialble in SAP .
Thanks in advance,
Ramesh.Check via transaction OB07 (or SPRO - General Settings - Currencies - Check exchange rate types) usually you will find a "M" average exchange rate (which is used operationally everywhere in Logistics) and a "P" planned exchange rate (used for cost planning)
Exchange rates are maintained via transaction OB08 (or SPRO, same tree - last node - Enter exchange rates)
When programming, use tables TCUR* or FM of function groups like SCUR "Translation of Currency Amounts etc." (CONVERT_TO_FOREIGN_CURRENCY, CONVERT_TO_LOCAL_CURRENCY and READ_EXCHANGE_RATE among others)
Regards,
Raymond -
What exactly does the MAC-Miss rate mean on the ACE? And if we are running out of resources for it, should I worry?
We have only implemented 1 production policy on the ACE module so far and we are already running out of resources for the mac-miss rate. All other resources look good.
Is this OK? Or is something wrong here?
Attached is the resource usage counters.
Thanks,
BenWhen the ACE receives traffic for which it does not have an arp entry for either the source or destination, this is called a mac-miss and the fastpath agent needs to ask the slowpath agent to perform an arp request.
This communication is rate-limited.
With no mac entry for a src or dst, we drop the packet.
So, you should increase the resource.
Or review your design.
It's best to have the clients coming through a gateway (ie: the MSFC) instead of directly accessing the ACE.
This way only 1 mac entry is needed - the gateway.
You'll see a counter like this
switch/Admin# sho np 1 me-stats "-socm -v" | i mac
Drop [mac lookup fail]: 4 0
Gilles. -
I am writing control software for a process that is usually dull and
requires only 10 Hz acquisition rate. At particular times during
the sequence, however, we are interested in looking at a couple of
channels at 1000 Hz. My approach so far is to configure my
Buffered DAQ to run at the higher rate at all times. When we are
in the 'high-speed DAQ' mode, the program logs every point to
disk. In the 'low-speed' mode, I am picking off every nth (in
this case, 10th) point to log to disk. At all times, I update my
GUI indicators on the front panel at a maximum of 4 times per second (I
find that anything faster results in an uncomfortable display), so I
fill up a FIFO with data in my acquisition / logging loop, and read the
FIFO in the display loop. The data in my GUI display can be up to
250 milliseconds off, but I find this acceptable . As a side note, I
need buffered Daq with hardware timing, as software timing results in
lost data at 1000 Hz.
This all works fine and dandy, but I am convinced that it is not the
most elegant solution in the world. Has anyone developed a
buffered DAQ loop where the scan rate can be adjusted during
operation? I would like to change the rate of the E-Series card
rather than relying on down-sampling as I am now doing.
The reason I have concern is that at the moment I am simulating my AI
using MAX and when running the down-sampling routine, I consistently
miss a particular event on the simulated data becuase the event in
question on the simulated data always occurs at the same 'time', and I
always miss it. Granted, while it is unlikely that my measured
signal and my acquisition are perfectly synchronized in the real world,
this particular situation points out the weakness in my approach.
More than anything, I am looking for ideas from the community to see
how other people have solved similar problems, and to have you guys
either tear apart my approach or tell me it is 'ok'. What do you
think?
Wes Ramm, Cyth UK
CLD, CPLIAdding to Alan's answer:
One of the problems that comes with these tricks for variable-rate acquisition is being able to match up sample data with the time that it was sampled.
If you weren't using either of E-series board's counters, there is a nifty solution to this! You'll be using 1 of the counters to generate the variable-rate sampling clock. You can then use the 2nd counter to perform a buffered period measurement on the output of the 1st counter. This gives you a hw-timed measurement of every sampling interval. You would need to keep track of a cumulative sum of these periods to generate a hw-accurate timestamp value for each sample.
Note: the very first buffered period measurement is the time from starting the 2nd counter until the first active edge from the 1st. For your app, you should ignore it.
-Kevin P. -
How can i set the Daq rate on the compactDAQ NI 9237?
I am using the NI 9237 module in the CompactDAQ 9172 chassis, with a single channel. I am using LabVIEW 8.2. I cannot find any software where I can set the DAQ rate on the module. The "daq assistant" in LabVIEW, the "Measurement and Automation explorer test panel and the example VI's all seem stuck at a rate of 5000 samples/sec. I only need 32 samples/sec. The software offers an input variable for "rate" but does not respond. Note that in the"Measurment and automation explorer test panel seems to allow higher rates but not lower. Am I missing something? My application has been crashing from time to time for not being able the retreive the data fast enough, I thought to minimize the rate to lower the transfer load on the operating system.
Hello Alfonso,
It sounds like you might be getting errors -200279 and -200278. (In the future, if you post the actual error codes, it helps us to know exactly what is happening). Error -200279 happens when you are performing a hardware-timed acquisition (meaning the data is sampled according to a clock signal on your board), but your LabVIEW program is not reading the values from the buffer allocated for that task in computer memory fast enough. Basically it's a buffer overflow error. It means older samples have been overwritten before you attempted to read them out. As the error message suggests, "increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem." For more information on this error, please see the KB (DAQmx) Error -200279 During a Continuous, Buffered Acquisition.
Error -200278 happens most often when you have configured a finite acquisition, but are calling the DAQmx Read function in a loop. If you want to perform a finite acquisition, you should only call DAQmx Read once. For more information on this error, see the KB Error -200278 at DAQmx Read.
Finally, please refer to Abhinav's earlier post about the sample rate on the 9237 module. As he described, the NI-DAQmx 8.3 driver will only allow you to set the sample clock to integer divisions of 50k (50,000/n, where n can be 1, 2, 3...13). Since the maximum divisor is 13, the smallest sample rate that can be used is 3.846 kS/s. You can check what value the driver is actually using for the sample clock by reading from the SampClk.Rate property of the DAQmx Timing property node.
I hope this helps! Let me know if you have any questions about what I've described.
Best regards, -
Exchange rate in case of equity and dividend.
Hi experts,
I required your help, please see below request and help.
I have created a equity (stock) transaction in foreign currency using t.code - TS01
My purchase in USD ( for ex. 10000 USD). At the time of purchase i am able to put an exchange rate manually and that's fine
It is also generating my dividend entry through security master condtion (FWZZ) in USD. here i am not able to change my exchange rate in case of dividend can u please help me how we can manually change an exchange rate in case of condition item.
We have a facility to change an exchange rate in loan module but not able to figure out how we can change a exchange rate in securities module.
Please help
Regards
Gaurav GuptaHi,
Since you updated the Exch rate manually it applies the same rate for Dividend as well. Please upload fresh Exch Rate for fresh date using OB08.
You may need to maintain this table on a periodic basis as Foreign currency is involved in the position.
Regards
Prasad AV -
Hello Experts,
how do you rate the service module in SBO, i have one problem as my work is in distributed environment, i have got technicians who are on the field all the time with few equipments. They come office once in a while.
I would like to manage their Scheduler and time Sheets in SBO which further can be incorporated to their payroll.
I am looking for this kind of a Solution.. can any body suggest how to handle it ????
All hrs get posted to SAP
- Productive hrs to sales orders (hidden line)
- Productive hrs to service calls or job numbers (when these get invoiced we need the lab hrs hidden as above)
- Non productive hrs to zero value sales orders/invoices (one per engineer) for weekly invoicing and onward analysis
If there was a front end it would need to post all these hrs to SAP and send a report of the hrs (in summary form) to the payroll clerk for onward payment of wages
Reporting then needs to be as follows
- Productive hrs via sales orders u2013 Standard SAP Gross Profit reporting
- Productive hrs to service call/job number u2013 When these are invoiced will the costs come forward and can they be reported on
- Productive hrs to sales orders and/or jobs not yet invoiced u2013 How can this be reported on???????
- Non productive hrs u2013 Book them to sales orders and report in the same manner
- Can we report on outstanding orders (SOP) not ALL orders
Please help !!Hi,
thanks for the valuable suggestions, i have evaluated Enprise but thats going to be addition expense and support cost.
i just want to explore one possibility... please help
Can i just import excel sheet of time sheet from all the various technicians ??
Is there any template or utility by which i can sync with MS-Excel ??
please reply -
Generalize Exchange Rates at the of month
Dear Expert,
I want to ask about Exchange Rates at the of month, what I need to do.
Each trasaction have their own Exchange Rates which is different with Exchange Rates and Index in Administration Module.
For Example :
On May 30
Exchange Rates in Administration Module is IDR 9,250.
I have 3 A/R Invoices
Inv A, $ 100, Rates IDR 9,500 = IDR 950,000
Inv B, $ 150, Rates IDR 9,300 = IDR 1,395,000
Inv C, $ 200, Rates IDR 9,450 = IDR 1,890,000
Total A/R will be IDR 4,235,000
On May 31, 2010 I want to set Exchange Rate to IDR 9600.
So the Total for all A/R Invoices will refer to IDR 9600.
I hope that the Total A/R will be
($100 + $150 + $200) * IDR 9600 = IDR 4,320,000
What should I do? and What are the effects in Financial and my A/R?
FYI,
I use SAP 2007 A SP 00 PL 44
My LC is IDR
My FC is also IDR
ThanksHi Rajesh,
Thanks for your answer.
I have tried your suggestion, but I have some question :
1. If I don't need going back to my past Exchange Rates for the next month.
Does it mean I don't need creating reversal JE from Exchange Rates Difference?
2. If I don't create reversal JE, I find outstanding value in LC
For Example:
- Open A/R Total USD 100, Rates IDR 9.000, BP Balance in LC will be IDR 900.000
- Exchange Rates Difference in to IDR 10.000, BP Balance in LC will be IDR 1.000.000
- Payment using USD 100, Rates IDR 9.000, Total Payment in LC will be IDR 900.000
So, in LC I still have balance IDR 100.000.
But in FC I don't have any balance, because A/R already close.
Because of Diffrences between Open A/R IDR 900.000 and BP Balance After Exchange Rates Diffrence IDR 1.000.000
Is it a must to create reversal JE for Exchange Rates Difference?
If it isn't a must to create reversal JE, how I can make BP Balance in LC to IDR 0.
Thanks
Regards,
Vicky Oktavianus -
I'm using a DAQmx task to continuously acquire analogue data.
I have used Task.Timing.ConfigureSampleClock to specify a 'rate' of 1000 and a 'samplesPerChannel' of 1000. So, I expect to receive 1000 points of data every second and this is exactly what I seem to get in my AsyncCallback.
However, I want to also generate an array containing the elapsed time since start of capture. My plan was to start at zero and then increment values in my time array by Waveform.Timing.SampleInterval however I find that Waveform.Timing.SampleInterval is 0.00062 seconds - why is it not 0.001 seconds?
I then double-checked the task sample rate by using Task.Timing.SampleClockRate and this seems to be 1612.9... - why is it not the 1000 I set during my call to ConfigureSampleClock?
Any pointers would be appreciated.
TIAThanks, you're right - I was specifying a sample rate lower than was available for the module I was using (the NI9239). I actually was expecting an exception to be thrown if I attempted that.
So, to make sure I don't get into this situation again I can make sure I select from the supported sample rates of 50/1→31 kS/s for this particular module.
Would you know if there is a programmatic way of finding the available sample rates for all module types? Perhaps I can assume it will always be Maximum Sample Rate/1→31?
TIA -
ACE30 module with 4 devices in HA mode
Hi,
I have two ace module in ha mode, each ace are inside of a catalyst 6509, the catalyst are in vss mode.
Iam going to install another vss with two ace module, I would like to know if is possible to configure the four ace module in ha mode?
Regards
Fidel GonzalezHi Fidel,
You might want to check out this new product called ITD.
Simple and faster solution:
ITD provides :
ASIC based multi-terabit/s L3/L4 load-balancing at line-rate
No service module or external L3/L4 load-balancer needed. Every N7k port can be used as load-balancer.
Redirect line-rate traffic to any devices, for example web cache engines, Web Accelerator Engines (WAE), video-caches, etc.
Capability to create clusters of devices, for example, Firewalls, Intrusion Prevention System (IPS), or Web Application Firewall (WAF), Hadoop cluster
IP-stickiness
Resilient (like resilient ECMP)
VIP based L4 load-balancing
NAT (available for EFT/PoC). Allows non-DSR deployments.
Weighted load-balancing
Load-balances to large number of devices/servers
ACL along with redirection and load balancing simultaneously.
Bi-directional flow-coherency. Traffic from A-->B and B-->A goes to same node.
Order of magnitude OPEX savings : reduction in configuration, and ease of deployment
Order of magnitude CAPEX savings : Wiring, Power, Rackspace and Cost savings
The servers/appliances don’t have to be directly connected to N7k
Monitoring the health of servers/appliances.
N + M redundancy.
Automatic failure handling of servers/appliances.
VRF support, vPC support, VDC support
Supported on both Nexus 7000 and Nexus 7700 series.
Supports both IPv4 and IPv6
N5k / N6k support : coming soon
Blog
At a glance
ITD config guide
Email Query or feedback:[email protected] -
Integration of multiple modules in CRIO
Hello Guys,
I am using two modules i-e. NI 9205 and NI 9222, Both have different data rates.
Now i have to transfer data from FPGA to CRIO from both these modules using one FIFO.
While merging data from both above mentioned modules, I got the data rate that is of slowest rate module. Can anyone please help me with that, or provide me the link regarding integration of modules with different data rates through one FIFO.
My appologies as i cant share the code but i used basic Labview examples and almost tried every way to put all channels of these modules in one FIFO but i am only able to get data rate of slowest module.
Regards
Sohaib KianiHi Sohaib,
I believe that something that might help you is using two different FIFOs to send the data from the FPGA to the RT, so you will have the data in the RT with the specific rate for each device and then you can process the data in the RT side.
Regards,
steve.bm
AE | NI -
Idoc TCURR_01 - exchanges rates
Hello
I'm trying to use the Idoc TCURR_01 to update exchange rates with the module fonction MASTER_IDOC_CREATE_TCURR.
When i launch it, i have a dump. It seems to miss a parameter for the module fonction. I've no possibility to filled it in the segments..
you have already had this problem ? is there an other module fonction i can use with this idoc
Thanks
FranckHi Puri,
your IDOC when generated, pick up the details from the Line item in the billing.
check the Copy controls on the billing, if the exchagne rate for both the line items are different or not. -
Driver fournit avec le module 6009
Bonjour à tous,
je souhaite faire l'acquisition du module USB DAQ 6009, mais je
voudrais savoir avant si celui-ci est fournit avec un driver compatible
avec le Logiciel Borland C++ Builder 6!!!
Merci de votre réponse,The USB-6009 is a supported device under DAQmx which has an ANSI C
interface, so yes you can access it using Borland C++ Builder.
You may need to download the import library at the following link:
http://digital.ni.com/public.nsf/websearch/B09727F89DA3A06C86256F430071D88E?OpenDocument -
Acquisition of heartrate from bluetooth polar wearlink
Hello!
I'm trying to build a VI that recieve the heart rate from the polar wearlink bluetooth device for heart rate acquisition. I have build a vi, but the data from it is just gibberish for me. So I don't know how to transform it to anything useful. I'm using labview 2011. So far this VI looks like:
Data data which comes out from data out looks like:
Any help would be appreciated!
Solved!
Go to Solution.
Attachments:
Jonas blåTand.vi 22 KBokey, i found out that the messages from the polar should look like this:
fe 0a f5 07 d1 4b 03 3b 03 22
fe 08 f7 08 d1 4b 03 57
fe 0a f5 09 d1 4a 03 5b 03 53
fe 08 f7 0a d1 49 03 66
fe 0a f5 0b d1 49 03 58 03 4f
fe 08 f7 0c d1 49 03 23
fe 0a f5 0d d1 49 03 20 03 1f
fe 0a f5 0e d1 4a 03 2e 03 04
fe 08 f7 0f d1 4a 03 20 fe 0a
f5 00 d1 4a 03 27 03 1d
fe 0c f3 05 d1 5f 02 48 02 4f 02 48
fe 0c f3 00 d1 64 01 02 01 48 06 34
fe 0c f3 0d d1 62 02 12 02 0b 01 3d
and so on. Where the third hex f3, f5 and f7 decides the message size. And the sixth hex is the heart rate.
The data I get from the bluetooth seems to "miss" some of the data in the transfer?! Because i get the data:
FE08F701F1000317F1000317
FE08F703
FE08F704F1000317F1000317
FE0AF506372
FE08F707F146F508F14603410343F147034D
FE0AF50A2E9
FE0AF50BF14B
FE0AF50CF1490313F70DF1490366
FE0836C
FE0AF50FF147
FE08F700F1470330F147035E036B
FE0832A
FE0AF503F147
I have tried several different read options to the bluetooth read function, but still the same problem. Anyone know how what to try? I add an attachment of a picture of the code and the code itself
Attachments:
picture of code.png 54 KB
Jonas blåTand 2.vi 26 KB
Maybe you are looking for
-
Address book groups not updated in iSync and iTunes-iPod-info sync
Changes to address book groups are not reflected in iSync and iTunes. I.e. if I remove a group or add a group it is still the old list of groups that is listed in iSync and iTunes available for syncing with my phone or iPod. How do I get these list t
-
My rollover images do not work in Internet Explorer 6. Here's the page. The people and the starbursts should change upon mouseover. Is there a fix for this? http://www.dittydaddys.com/index.html
-
Hi.. When I access our Oracle database with SQL*Plus, from a client machine, after 10 or 15 minutes without requests to the server database, I get these error messages. But when I am running the proccesses from the machine server, it's not happens. C
-
Can u help
-
Interfacing Java with the command prompt
Hi everyone, I'm very new to java and wanted to see if anyone had any advice before i started getting too far into this project. I want to write a java program which allows the user to draw lines on the screen, and move them around, and then the prog