How to use lock in amplifier start up kit?
Hi,
I am now given a project which is Frustrated Total Internal Reflection (FTIR). Basically there is a lot of way to extract the information signal from IR sensor like DC approach, AC approach, transimpedance amplifier. I found that Lock In Amplifier is suitable for me to use in my project because the voltage across the IR receiver part will be small like mV and the noise will be high since the ambient light or sun light able to disturb the light wave emitted from IR emitter. Currently i download the NI lock in amplifier VI and i try to translate into DAQmx version. The VI can run but I am not sure that VI was translated correctly or not. Can just help me to check it out? Now I am using NI USB6366 to do the lock in amplifier as well. Here are some questions that i want to ask:
1. From the NI lock-in amplifier start up kit user manual, for the configuration section on PAGE 13/20, I found that the first channel in the channel list should be used for the signal and the second channel in the list should be used as the reference input. I am confusing with this because i just able to create a channel for acquisition puspose and the channel is used to wire the input of DAQmx start.vi. May I know another channel where should i put?
2. If USB 6366 able to use with lock in amplifier VI, how to acquire the signal from the IR receiver? I wire the A0+ to anode of IR emitter and A0- to cathode of IR receiver, is it correct? this wiring is used for the signal or the reference input?
3. The generation of signal to IR emitter also can be done inside the lock in amplifier start up kit? As i saw the signal generator function inside there but I am not sure what the function is.
4. lock in amplifier able to amplify my IR receiver's signal? or I need to build up a new circuit to amplify my signal then just feed it to the lock in amplifier VI?
Thanks for all the reply. Really need help on this. thanks
Attached will be my modified VI for NI lock in amplifier start up kit.
Attachments:
lock in modern.llb 460 KB
Claudia,
thanks for the version mentioned.
I would like to change the lock-In to one with a reference signal
instaed of PLL, and a few other changes.
I tried to understand how your sample works , but as soon as I'm
reaching the VI's on a deeper level I'm running into code protection.
Why are these VIs not public?
Thanks
Urs
Claudia schrieb:
>Hello,
>
>Another person was also asking for a Lock-In Amplifier Start-Up kit
>that would not expire, and I published it in the following Discussion
>Forum:
>
>href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000...
>
>Hope this helps,
>
>Claudia Lorente
>Applications Engineer
>N
ational Instruments
>http://www.ni.com/ask
>
>
Similar Messages
-
How to use lock object? what we lock either total ztable or only record?
Hi
How to use lock object? what we lock either total ztable or only particular record?
Don't tell create lock object on se11 with E letter & acll it in program with eENQUEUE & DEQUEUE.
just tell me we will lock only particular record or total ztable?
specify with example.
Thanks.Hi
Go to SE11, in the option 'Lock object' enter the name of your lock,
begin with 'E', suppose 'EXXXX' And create. In tab 'Tables' fill the
table name where the record you want to lock exist and select the
lock mode. Lock mode can be shared and exclusive. If 'shared',
when you lock the record, other can also read data, but can not
modify. If 'exclusive', when you lock the record, other can neither
read nor modify the record. After save and activate, you will get two
function module.'ENQUEUE_EXXXX' to lock record,
'DEQUEUE_EXXXX' to release lock on one record.
When use this function module it only lock one record at a time. It
does not lock the table. -
How to use lock pattern for ur home screen in pod touch 4g(ios 5)
how to use lock pattern for ur home screen in pod touch 4g(ios 5)
Video formats:
H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
Support for 1024 by 768 pixels with Apple VGA Adapter; 576p and 480p with Apple Component AV Cable; 576i and 480i with Apple Composite AV Cable (cables sold separately) -
How to use counter as an start and stop trigger in 6009
Hi ALL.
I'm using USB 6009 as a subject of to acquire data.
I would like to know on how to use the counter digital input as a start and stop trigger.
The acquisition will only start when the first pulse of the digital signal is received and it will stop when the desired number of pulse is received.
I was trying to use the VI as attachment as my reference. However, after tried, the VI is not working for USB 6009 as the counter input cannot be used as a trigger.
I would be happy if anyone could suggest me some ideas on this matter.
Thanks.
Attachments:
DigitalStartandStopTrigger.vi 32 KBHi Kate.
Thanks for your response.
For your information, I've design my VI using the counter method. However, it doesnt work well. Please see the figure below. The file also attached with this reply.
At first, the first counter from Device 2 will start counting. If the counting equal 0, then the acquisition for Device 1/AIO also the counter of Device 1/ctr0 begin acquiring data and counting the edges respectively.
However, when I did the test, it doesn't work as wanted. It is happened because when counter of device 2 in not equal to 0, the acquisition for Device 1 not happened as it will go to false state.
Is there anything that someone could suggest on how to start the acquisition for device 1 only and if the counter of device 2 is equal to 1. I would like the acquisition of device 1 start only when the counter of device 2 is equal to 1. I cannot use the trigger as 6009 is not support for it.
-Fird-
Message Edited by Fird on 07-02-2009 04:28 AM
Attachments:
Acquire Data Test 4.vi 27 KB -
How to use lock in TestStand for synchronization ?
I am trying to implement the synchronizing techniques for the COM component. Through the document, I understood about Lock utility. But it was not clear that how should I release lock. Can anybody guide me in this issue ? My requirement is, even though 2-3 sequnces try to access same COM component, only one sequence should be able to access the COM component. Other sequences will wait till this time.
After you create a TestStand lock using the Lock step type, you can then acquire the lock using the Lock operation of the Lock step type. When using the Lock operation of the step type, you have the option to specify the Lock Operation Lifetime. Options for this are:
-Same as Sequence
-Same as Thread
-Use ActiveX reference
The first two options are fairly explanatory; acquire lock until either the sequence or thead completes.
The last option allows you to store an ActiveX reference to the lock operation in a TestStand variable. You can release the lock operation by setting this variable to value of Nothing (e.g. Locals.MyLock = Nothing). Or, you can release the lock by letting the variable go out of scope.
Finally, you can release a lock using a Lock ste
p configured for the Early Unlock operation. This allows you to release a lock before than the lifetime you configured when creating the lock.
Hope this helps. -
sir,
I purchased second hand iphone 4,from uk(london),how it was factory unlock,how much pay for it & what is procedure of unlock as i use it in home town(india)
<edited by host>
carrier O2 12.0
ios :5.1.1
<edited by host>I will only answer here, not to the email address you gave. Also not good to give serialnumbers, imeinumbers here....
The phone was probably not unlocked. Or maybe hacked and it will be locked again after an update.
If the phone was not unlocked officially, you have to go to the provider in the UK, where it was used before, because only the provider-it-was-locked-to, can unlock it.
If it was jailbroken/hacked I do not know what to do. -
How to use external HD as start HD
Hi§
My 30 gb hard drive is about to become full, and I wonder if it's possible to use my external HD as the main drive on a permanent basis. If it is, how do I do it? Can I just copy all my files over to the external drive?
I appreciate any inputs on this issue.
Thanks
LarsHi, Lars -<menu>"..but is it safe to delete everything from my internal HD now.."</menu>Assuming you've been able to boot from the external, it's probably safe.
You might want to consider leaving the OS in place on both disks, though. I've found it very convenient to be able to boot from the other disk when something goes wrong with the OS I normally run - much more convenient than rummaging for removable bootable media. -
Lock-In amplifier capabilities
Hello,
I am using the Lock-In amplifier start-up kit. I generate an output waveform and get 2 inputs back - reference and measured signal.
I connected the output with a coax wire to the 2 input channels (using BNC-2120) in order to test the program and the results aren't good. When I increase the frequency of the waveform the results even get worse (up to 1000 Hz needed).
I am using PCI MIO-16E-1 (PCI 6070), max reading rate 1.25MSa/s, and I understand that the start-up kit was written to much lower rates. I have another DAQ card PCI-6143 which has A/D converter for each channel (I think) but do not have analog output. I thought about using this one as input only and the first one as output, but I don't know how to do it (need RTSI cable?)
I have 3 questions:
1. What is the best configuration for my purpose, 1 card or 2 different ones? (also available to me PCI-6154)
2. How do I synchronize 2 different cards?
3. How can I find the optimum input and output rates? What are the limitations (min/max requierments) of the Lock-In amplifier? Is it possible to see the censored parts?
I am using LabView8.0
thank you,
Noam.Hi Noam,
Without the PCI-6154, the best way to proceed will be to use a RTSI to synchronize the simultaneous sampling card with a card providing the analog output. The simultaneous sampling is essential for the lock-in amplifier. Additional reasons why this would be the best solution can be found in this article. There are examples in the Example Finder which show how to share the sample clock and a start trigger between the two cards. Instead of looking under Hardware Input and Output » DAQmx » Synchronization » Multi-Function, check under Hardware Input and Output » DAQmx » Synchronization » Multi-Device. There is also good information about synchronization and related topics such as signal routing across RTSI in this article.
The rates of both the analog output and input will be the same since you are sharing the sample clock. One thing to check is to make sure that the rate is at least twice as high as the highest frequency that you will be testing. It is not a bad idea of start off with a high rate to ensure that the sine wave that you are generating is smooth.
The error that you are seeing is a common overflow error. While you do not have to increase your buffer size to solve this error, you may have to read faster. The buffer size is different than the number of samples you acquire each time you call the DAQmx Read function. The number of samples to read each time can be changed by wiring a different value to the DAQmx Read function. If both of these values are set, then the way to make sure the buffer does not overflow is to call the DAQmx Read function more often. This will require making sure that there is nothing in the loop that is slowing it down. This may require moving all processing functions to a separate loop. There is more information on this error in this article.
Regards,
Kent
Applications Engineer
Digital Multimeter Home -
Hi,
I am using a NI labview lock-in amplifier, "Multichenel locl in-DAQmx", to read AC signals from 50Hz to 500Hz. Now I want to know how acurate the phase and amplitude are, or to say the uncertainty of the lock-in amplifier. My card is NI PCI-6035E and I am using labview8.2. The lock-in amplifier is download from Download the FREE NI LabVIEW Lock-In Amplifier Start-Up Kit last year.
thank you,
NanHi Nan,
As the lock-in amplifier toolkit is
purely software, the only inaccuracies you need to worry about are those of the
board being used in conjunction with the lock-in amplifier. The specifications
for your PCI-6035E can be found in the NI
6034E/6035E/6036E Family Specifications manual.
Please post back if you have further
questions.
Mark E.
Precision DC Product Support Engineer
National Instruments
Digital Multimeters (DMMs) and LCR Meters
Programmable Power Supplies and Source Measure Units -
Does Lock in amplifier kit work with DAQpad 6016
Hi all,
I have DAQPad 6016 (USB). I am trying to develope Lock in amplifier and I found Lock in Amplifier start up kit. So I am wondring that this tool kit works wit DAQ 6016? Moreover, DAQ 6016 does not support treditional DAQ. And this tool kit is with traditional DAQ so Can i change this traditional DAQ to DAQmx or any update available for Lock in amplifier start up kit?
Thank YouHi N.K.,
I found an example which is using DAQmx. Have a look at:
Multi Channel Count Lock-In Amplifier with DAQmx
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=042319214C65627AE0440003BA7CCD71&p_...
Also please look here, because I the 6016 does sampling not simultaneous!
Lock-In Amplifier Startup Toolkit Compatibility with Non-DSA Hardware
http://digital.ni.com/public.nsf/websearch/EBAADBD271ADFEC586256C86007B63F9
Regards,
Andi
~~~ Logic is a systematic method of coming to the wrong conclusion with confidence ~~~ -
How to use Start Task Group for Workflow Interface
Hi all,
anyone who can tell me how to use the Interface IFWFTSKGRP (Start Task Group for Workflow Interface)?
As far as I understood the documentation it can be used to restrict the selection of workflows that can be started in the Generic Object Services. But the question is how to implement it.
Best regards,
Carsten
Edited by: Carsten Drewes on Jun 10, 2009 10:30 AMHi, Carsten,
(probably it's a bit too late to post an answer after 3 years , but I'll post it in case someone else needs it)
You should implement GetTaskGroup method.
The code should return id of the task group (otype TG, mantained in PFTC) that holds the list of workflow definitions.
Here is a sample implementation. It's taken from FORMABSENC business object. It belongs to SAP demo workflow "Notification of Absence". I suppose it should be present in most systems and you can see it in action.
begin_method gettaskgroup changing container.
DATA: taskgroup LIKE rhobjects-object.
*- set task group
taskgroup = 'TG70000023'.
*- set result
swc_set_element container result taskgroup.
end_method. -
How i use start with and rollup both in one query
hi master
sir i use rollup function for subtotal but rollup not give tree
for tree i want to use start with and connect by function
but that query give error
sir how i use both rollup and start with connect by in one query
for tree wise subtotal
please give me idea
thanking youhi master
thank for your reply
sir i get accid and title from master table and balance from detial table then system give me error
sir i send me all table and data with query and error
Sir this is my master table
SQL> desc chartofacc;
Name Null? Type
PARENT NUMBER
CHILD NUMBER
ACCID NOT NULL VARCHAR2(15)
TITLE VARCHAR2(99)
CAMPID VARCHAR2(2)
ACTIVE NUMBER
FSTATUS NUMBER
Data
Parent child accid
1 K1
1 11 K11
11 1101 K1101
11 1102 K1102
11 1103 K1103
11 1104 K1104
11 1105 K1105
11 1106 K1106
11 1107 K1107
11 1108 K1108
11 1109 K1109
11 1110 K1110
11 1111 K1111
11 1112 K1112
11 1113 K1113
11 1114 K1114
1 12 K12
12 1201 K1201
12 1202 K1202
12 1203 K1203
1 13 K13
13 1301 K1301
1301 130101 K130101
1301 130102 K130102
1301 130103 K130103
1301 130104 K130104
1301 130105 K130105
1301 130106 K130106
1301 130107 K130107
1301 130108 K130108
1301 130109 K130109
1301 130110 K130110
1301 130111 K130111
1301 130112 K130112
1301 130113 K130113
1301 130114 K130114
1301 130115 K130115
13 1302 K1302
1302 130201 K130201
1302 130202 K130202
1302 130203 K130203
1302 130204 K130204
1302 130205 K130205
13 1303 K1303
1303 130301 K130301
1303 130302 K130302
1303 130303 K130303
13 1304 K1304
1304 130401 K130401
1304 130402 K130402
1304 130403 K130403
1304 130404 K130404
1304 130405 K130405
1304 130406 K130406
1304 130407 K130407
1304 130408 K130408
13 1305 K1305
1305 130501 K130501
1305 130502 K130502
13 1306 K1306
1306 130601 K130601
13 1307 K1307
1307 130701 K130701
1307 130702 K130702
1307 130703 K130703
1307 130704 K130704
13 1308 K1308
1308 130801 K130801
1308 130802 K130802
1308 130803 K130803
1308 130804 K130804
1308 130805 K130805
1308 130806 K130806
1308 130807 K130807
1308 130808 K130808
1308 130809 K130809
1308 130810 K130810
1308 130811 K130811
1308 130812 K130812
1308 130813 K130813
13 1309 K1309
13 1310 K1310
13 1311 K1311
1311 131101 K131101
2 K2
2 21 K21
21 2101 K2101
2101 210101 K210101
2101 210102 K210102
2101 210103 K210103
2101 210104 K210104
21 2102 K2102
2102 210201 K210201
2102 210202 K210202
2102 210203 K210203
2102 210204 K210204
21 2103 K2103
2103 210301 K210301
2103 210302 K210302
2103 210303 K210303
2103 210304 K210304
21 2104 K2104
2104 210401 K210401
2104 210402 K210402
2104 210403 K210403
2104 210404 K210404
2 22 K22
22 2201 K2201
2201 220101 K220101
2201 220102 K220102
2201 220103 K220103
2201 220104 K220104
2201 220105 K220105
22 2202 K2202
2202 220201 K220201
2202 220202 K220202
2202 220203 K220203
2202 220204 K220204
22 2203 K2203
2203 220301 K220301
2203 220302 K220302
2203 220303 K220303
2203 220304 K220304
22 2204 K2204
2204 220401 K220401
2204 220402 K220402
2204 220403 K220403
22 2205 K2205
2205 220501 K220501
2205 220502 K220502
220502 22050201 K22050201
220502 22050202 K22050202
220502 22050203 K22050203
220502 22050204 K22050204
22 2206 K2206
2206 220601 K220601
2206 220602 K220602
2206 220603 K220603
2206 220604 K220604
2 23 K23
23 2301 K2301
2301 230101 K230101
2301 230102 K230102
2301 230103 K230103
2301 230104 K230104
2301 230105 K230105
2301 230106 K230106
2301 230107 K230107
2301 230108 K230108
23 2302 K2302
2302 230201 K230201
2302 230202 K230202
2302 230203 K230203
2302 230204 K230204
23 2303 K2303
2303 230301 K230301
2303 230302 K230302
23 2304 K2304
2304 230401 K230401
2304 230402 K230402
2304 230403 K230403
23 2305 K2305
2305 230501 K230501
23 2306 K2306
2306 230601 K230601
2306 230602 K230602
2306 230603 K230603
2306 230604 K230604
23 2307 K2307
23 2308 K2308
2308 230801 K230801
2308 230802 K230802
2308 230803 K230803
23 2309 K2309
2309 230901 K230901
2309 230902 K230902
2309 230903 K230903
2309 230904 K230904
23 2310 K2310
2310 231001 K231001
2310 231002 K231002
2310 231003 K231003
23 2311 K2311
2311 231101 K231101
2311 231102 K231102
2311 231103 K231103
23 2312 K2312
2312 231201 K231201
2312 231202 K231202
2312 231203 K231203
2312 231204 K231204
23 2313 K2313
2313 231301 K231301
2313 231302 K231302
2313 231303 K231303
2313 231304 K231304
2313 231305 K231305
2313 231306 K231306
2313 231307 K231307
2313 231308 K231308
2313 231309 K231309
2313 231310 K231310
2313 231311 K231311
2313 231312 K231312
2313 231313 K231313
2313 231314 K231314
2313 231315 K231315
23 2314 K2314
2314 231401 K231401
2314 231402 K231402
2314 231403 K231403
2314 231404 K231404
2314 231405 K231405
2314 231406 K231406
2314 231407 K231407
23 2315 K2315
23 2316 K2316
2316 231601 K231601
2316 231602 K231602
23 2317 K2317
23 2318 K2318
23 2319 K2319
2319 231901 K231901
2319 231902 K231902
2319 231903 K231903
2319 231904 K231904
2319 231905 K231905
2319 231906 K231906
23 2320 K2320
2320 232001 K232001
3 K3
3 31 K31
31 3101 K3101
31 3102 K3102
31 3103 K3103
31 3104 K3104
31 3105 K3105
3 32 K32
32 3201 K3201
32 3202 K3202
32 3203 K3203
32 3204 K3204
32 3205 K3205
32 3206 K3206
32 3207 K3207
4 K4
4 41 K41
41 4101 K4101
4101 410101 K410101
4101 410102 K410102
4101 410103 K410103
4101 410104 K410104
4101 410105 K410105
4101 410106 K410106
4101 410107 K410107
4101 410108 K410108
4101 410109 K410109
4101 410110 K410110
4101 410111 K410111
4101 410112 K410112
4101 410113 K410113
4101 410114 K410114
4101 410115 K410115
4101 410116 K410116
4101 410117 K410117
4101 410118 K410118
4101 410119 K410119
4101 410120 K410120
4101 410121 K410121
4101 410122 K410122
4101 410123 K410123
4101 410124 K410124
4101 410125 K410125
4101 410126 K410126
4101 410127 K410127
4101 410128 K410128
4101 410129 K410129
4101 410130 K410130
4101 410131 K410131
4101 410132 K410132
41 4102 K4102
41 4103 K4103
41 4104 K4104
4104 410401 K410401
4104 410402 K410402
4104 410403 K410403
4104 410404 K410404
41 4105 K4105
41 4106 K4106
41 4107 K4107
41 4108 K4108
4108 410801 K410801
4108 410802 K410802
4108 410803 K410803
41 4109 K4109
4109 410901 K410901
4109 410902 K410902
4109 410903 K410903
41 4110 K4110
41 4111 K4111
4111 411101 K411101
4111 411102 K411102
4111 411103 K411103
41 4112 K4112
4112 411201 K411201
41 4113 K4113
4113 411301 K411301
41 4114 K4114
4114 411401 K411401
4114 411402 K411402
5 K5
5 51 K51
51 5101 K5101
51 5102 K5102
51 5103 K5103
51 5104 K5104
51 5105 K5105
51 5106 K5106
51 5107 K5107
51 5108 K5108
51 5109 K5109
51 5110 K5110
51 5111 K5111
51 5112 K5112
51 5113 K5113
51 5114 K5114
6 K6
6 61 K61
7 K7
7 71 K71
7 72 K72
7 73 K73
7 74 K74
7 75 K75
7 76 K76
This is my detil table
SQL> desc accbal;
Name Null? Type
ACCID VARCHAR2(15)
YEARID NUMBER
CRBAL NUMBER
DRBAL NUMBER
ENTDATE DATE
BALID NUMBER
Data in detail
K1101 46291132
K1102 13182173
K1103 23784045
K1107 10001795
K1108 9083529
K1110 4224350
K1112 6696832
K1113 7963381
K1114 742766
K1201 1486082
K130104 1977616
K130106 736266
K130107 396673
K130108 42751
K130109 298362
K130110 187696
K130111 537
K130112 942
K130113 987
K130114 1272
K130115 40000
K130205 259941
K130303 177716
K130406 809719
K130408 1786091
K130701 301000
K130702 151200
K130703 7570
K130704 34400
K1308
K130801 5400
K130802 45000
K130803 10856
K130807 24300
K130808 16500
K130810 104500
K130811 60000
K130812 181000
K130813 1750000
K1309 1225565
K1310 2176259
K1311
K131101 788780
K410101 24926
K410102 9545
K410103 28500
K410104 8192
K410105 847
K410106 37100
K410107 2332
K410108 9844
K410109 7843
K410110 9313
K410111 1425
K410112 6089
K410113 15497
K410114 5790
K410115 4251
K410116 22293
K410117 855
K410118 6497
K410119 14996
K410120 124214
K410121 6713
K410122 1567
K410123 75821
K410124 5085
K410125 7125
K410126 4342
K410127 21485
K410128 641111
K410129 589
K410130 50
K410131 163900
K410132 3849
K4105 3946489
K4107 100000
K410801 972011
K410802 1707806
K410803 116450
K4110 13113874
K411101 98335
K411102 32454
K411103 53569
K411201 25327406
K411301 7143103
K411401 4500000
K411402 12754
K5102 2120031
K5103 13543810
K5107 4596103
K5108 5604493
K5110 2008401
K5112 2182778
K5113 4748537
K5114 556914
K61 43297680
Sir I use this query
select lpad(' ',2*(level-1)) || to_char(child),title,sum(drbal),sum(crbal),
from chartofacc, accbal
where chartofacc.accid=accbal.accid(+)
start with parent is null
connect by prior child = parent
group by rollup(substr(mas.accid,2,1),substr(mas.accid,3,1),substr(mas.accid,4,2),substr(mas.accid,6,2) ,chartofacc.accid,title,fstatus);
sir this query not give me result and give me error this
SQL> /
from chartofacc, accbal
ERROR at line 2:
ORA-00936: missing expression
Please give me idea how I get tree type subtotal tribalance
Thanking you
Aamir -
Lock-In Amplifier and offline data processing
Hi everyone,
I've been successfully using the Lock-In Amplifier to do live data processing. The processed Lock-In outputs and the frequency values are then saved. Recently it has turned out that the real acquisition capabilities needed mean that online processing is not possibe. (As 4 channels are being simultaneously sampled each at 4Mhz and acquiring for several seconds.) I have built the Lock-In Amplifier into an offline processing VI where I strip out the arrays for Channel 0 (Signal) and Channel 1 (Reference) and send chunks of data to the Lock-In. I wanted to check that the Lock-In doesn't have any problems working offline? Are there any other things I need to know for offline processing?
Many thanksHi,
I've not personally had the change to use Lock In Amplifiers with our hardware yet, but from searching through the LabVIEW developer zone I came across this example VI, I hope it's some help to you: http://zone.ni.com/devzone/cda/epd/p/id/4532
All the best,
Applications Engineer -
Please advise how I can register my Photoshop Starter Edition when I apply I do not receive an unlock code so I am unable to continue to use the program and all my photos are locked in, please advise, thanks John
Please refer to the appropriate Forum, this one is dedicated to Photoshop proper.
Photoshop Album Starter Edition -
What is the use for lock object and how to use the lock objects
Hi Guru's,
I am new to ABAP .Can you please clarify the that what is the use of lock object and how to use the loct object .what is use of the Deque & Enque function modules .hi ,
below are some minfo about lock objects :
Lock Objects
These types of objects are used for locking the access to database records in table. This mechanism is used to enforce data integrity that is two users cannot update the same data at the same time. With lock objects you can lock table-field or whole table.
In a system where many users can access the same data, it becomes necessary to control the access to the data. In R/3 system this access control is built-in on database tables. Developers can also lock objects over table records.
To lock an object you need to call standard functions, which are automatically generated while defining the lock object in ABAP/4 dictionary. This locking system is independent of the locking mechanism used by the R/3 system. This mechanism also defines LUW i.e. Logical Unit of Work. Whenever an object is locked, either by in built locking mechanism or by function modules, it creates corresponding entry in global system table i.e. table is locked. The system automatically releases the lock at the end of transaction. The LUW starts when a lock entry is created in the system table and ends when the lock is released.
Creating Lock Objects
Lock object is an aggregated dictionary object and can be defined by using the following steps:
o From initial data dictionary screen, enter the name for the object, Click Lock object radiobutton and then click on Create. The system displays a dialog box for Maintain Lock Objects screen
o Enter short text as usual and the name for primary table.
-Save
-Select Tables option
From this screen you can:
Select secondary tables, if any, linked by foreign key relationship.
Fields for the lock objects. This option allows you to select fields for objects (R/3 system allows locking up to record level). Lock object argument are not selected by user but are imposed by the system and includes all the primary keys for the table.
1) Exclusive lock: The locked data can only be displayed or edited by a single user. A request for another exclusive lock or for a shared lock is rejected.
2) Shared lock: More than one user can access the locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock is rejected.
3) Exclusive but not cumulative: Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. All other lock requests are rejected.
Also, last but not the least, locking the object is logical (locking with any enqueue ) .so, you have to use the lock object while trying to access from second program .
reward if helpful ,
Regards,
Ranjita
Maybe you are looking for
-
CONVT_NO_NUMBER Unable to interpret "*0" as a number.
Hi gurus, I am encountering this dump while running a report in background. The report takes process order numbers as input and updates a Z-Table accordingly. However, this dump occurs only when the report is run in background. When run in foreground
-
Hi friends. I am trying to debug PO print program, even after putting an endless loop.. it's not going to debug mode. Please help Thanks Lakhbir
-
XML to DataGird encoding problem
XML is in windows-1250 encoding (beacuse special character čćžšđ) when I load XML into DataGrid there are no special chars like čćžšđ
-
Action Script 3 URL link opens in new window
How do I stop the url link in the following code from opening a new browser window? thank you
-
Installed OS6 (6.0.0.448) from my mobile provider, Wind Mobile in Canada I upgraded to OS6 last night, but in many ways I feel I have downgraded: 1. No Column view in the browser and as a result the shortcut has also been eliminated. Cannot understa