Problem with output 5VDC NI 9411 channel
Hello
I'm having a problem with output 5VDC NI 9411 channel. According to the specification of the module, it was stated that the module required external power from 5 to 30 VDC. Game of supply the module with the requirement of tension, I am still unable to get the output voltage of the output channels. Does this mean that the output voltage may be available depending on the program?
Thanks in advance,
Kind regards
Mike640
Hi Mike,.
Thanks for posting on the forum of National Instruments.
You should still be able to get an output voltage in properly feeding the NI 9411 and your external device.
If you don't have a power supply of 5V to power the external device directly, or if you want to simplify the cabling, you can connect an external power supply to the Vsup and COM terminals on the connector terminal block screw NI 9411 and connect the external device to one of the pins Vout + 5. If the external device is already powered, you have not need connect a power supply on the NI 9411 or plug the Vout of + 5 to the external device.
I hope this helps.
Tags: NI Hardware
Similar Questions
-
problem with the configuration of the channel of width 40 mhz on Aironet 1141
Hello
recently we bought the model cisco aironet AIR-AP1141N-E-K9 stand alone. After you have configured it, customer has no problem with the connection and the cover, but there is problem with passage. clients are unable to connect to higher rates, even if I set the width of the channel to 40 mhz, the maximum for compatible client device N rate is 54 mb.
can someone give me some advice how to fix this?
This is my setup, or see attachment file
Thank you very much
Please change the encryption used by AES.
Here's more information: http://www.cisco.com/en/US/products/ps6366/products_tech_note09186a0080a3443f.shtml
THX //art
-
I'm trying to decode the values in the column sequence where id = 1 and the sequence is equal to 0, BUT only where there is only a single row returned for this year here.
Oracle: 10.2 G
-Seq_2 table data
Desired outputSEQUENCE NAME YEAR NAME ID 1 CLE423423RK342 2002 CLE423423RK342 1 0 MANAGE42432432R2 2002 MANAGE42432432R2 1 2 CLE423423RK342 2002 CLE423423RK342 1 1 SAL423423ESMAN42432 2003 SAL423423ESMAN42432 1 0 MANA4234324GER 2003 MANA4234324GER 1 2 SAL423423ESMAN42432 2003 SAL423423ESMAN42432 1 0 SALES2343242MAN 2004 SALES2343242MAN 1 2 SALESMAN42432 2005 SALESMAN42432 1 1 CLERK342 2005 CLERK342 1 0 CLERK 2006 CLERK 1 0 SALESMAN 2007 SALESMAN 1 0 SALESMAN 2007 SALESMAN 1 2 MANAGER 2008 MANAGER 3 1 SALESMAN 2008 SALESMAN 3 2 MANAGER 2008 MANAGER 3 1 SALESMAN 2008 SALESMAN 3 1 MANAGER2 2009 MANAGER2 3 1 MANAGER2 2009 MANAGER2 3
Current queryNEW_SEQ SEQUENCE NAME YEAR NAME ID 1 1 CLE423423RK342 2002 CLE423423RK342 1 0 0 MANAGE42432432R2 2002 MANAGE42432432R2 1 2 2 CLE423423RK342 2002 CLE423423RK342 1 1 1 SAL423423ESMAN42432 2003 SAL423423ESMAN42432 1 0 0 MANA4234324GER 2003 MANA4234324GER 1 2 2 SAL423423ESMAN42432 2003 SAL423423ESMAN42432 1 1 0 SALES2343242MAN 2004 SALES2343242MAN 1 2 2 SALESMAN42432 2005 SALESMAN42432 1 1 1 CLERK342 2005 CLERK342 1 1 0 CLERK 2006 CLERK 1 0 0 SALESMAN 2007 SALESMAN 1 0 0 SALESMAN 2007 SALESMAN 1 2 2 MANAGER 2008 MANAGER 3 1 1 SALESMAN 2008 SALESMAN 3 2 2 MANAGER 2008 MANAGER 3 1 1 SALESMAN 2008 SALESMAN 3 1 1 MANAGER2 2009 MANAGER2 3 1 1 MANAGER2 2009 MANAGER2 3
The problem with the above query is that it tunrs all 0 s 1 s in the new_sequence column, where I only want the 0 is transformed into 1 when there is only a sequence of 0 for this year.select case when (id = 1 and sequence not in (1,2) and count(year) = 1) then '1' else sequence end as new_seq, sequence, name, year, id from seq_2 group by year, id, name, sequence order by year
Published by: user652714 on February 8, 2010 10:18Hello
I think you should use analytical functions, not to aggrtegate functions, for that.
For example:WITH got_year_cnt AS ( SELECT sequence, name, year, id , COUNT (*) OVER ( PARTITION BY year) AS year_cnt FROM seq_2 ) SELECT CASE WHEN id = 1 AND sequence NOT IN (1, 2) AND year_cnt = 1 THEN 1 ELSE sequence END AS new_seq , sequence, name, year, name, id FROM got_year_cnt ORDER BY year ;
This assumes that the sequence is a NUMBER. If it is a string, add quotes.
If you had likke poster CREATE TABLE and INSERT instructions for the sample data, and then I could test this.
-
Problem with output report layout
Hi friends,
This isn't problem Oracle D2K. ;)
I did a report in Oracle PL/SQL. And, when I spool the data he fragments he came out in several lines. Despite I took in charge of the issues.
Now, let me explain->
I used a function in pipeline and store the result using the command of the coil.
What I found strange, this is the type of object that is a clob data type is split in fact lines after 80 characters as in the case of string, it continues to 4000 characters.
Now, in my solution, ordering channels made big role as all the lines indicate a different meaning and so pinched the data accordingly.
I did a small test in that regard, and I am paste here that - because I am not allowed to post here my original due to the policy of the company code.
Why is this it is break line after 80 characters? Alternatively, where I'm missing?scott>select * from v$version; ----------------------------------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod PL/SQL Release 10.2.0.3.0 - Production CORE 10.2.0.3.0 Production TNS for 32-bit Windows: Version 10.2.0.3.0 - Production NLSRTL Version 10.2.0.3.0 - Production Elapsed: 00:00:00.18 scott> scott>create table clob_dummy 2 ( 3 cola clob 4 ); Table created. Elapsed: 00:00:04.40 scott> scott>insert into clob_dummy values('&clb'); Enter value for clb: Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdj dbs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh shgghsga wshkwlsgsdklghlahgkh lahgkas lhks kglaks gksh a old 1: insert into clob_dummy values('&clb') new 1: insert into clob_dummy values('Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio po 1 row created. Elapsed: 00:00:00.08 scott> scott>commit; Commit complete. Elapsed: 00:00:00.01 scott> scott>select * from clob_dummy 2 ; COLA -------------------------------------------------------------------------------- Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjd Elapsed: 00:00:00.27 scott>set long 400000 scott> scott>set lin 2000 ---- As you can see i've set the linesize to 2000 scott> scott>set serveroutput on scott> scott> scott>select * from clob_dummy; COLA -------------------------------------------------------------------------------- Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjd bs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh shgghsga wshkwlsgs dklghlahgkh lahgkas lhks kglaks gksh a Elapsed: 00:00:00.11 scott> scott> scott>select length(cola) res from clob_dummy; RES ---------- 199 Elapsed: 00:00:00.08 scott>insert into clob_dummy values('&clb') 2 ; Enter value for clb: ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhldkhkhdkhkdhkdhkdkhkl hkddkhdkhdkl djhlkdkhdhkshlkd dkhdkhldsjhkslhjd eutywe 398863694 i230e ehgd ehglegighsihdlk eltiweyt ilhdhgehgisehbkd old 1: insert into clob_dummy values('&clb') new 1: insert into clob_dummy values('ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhld 1 row created. Elapsed: 00:00:00.03 scott> scott>commit; Commit complete. Elapsed: 00:00:00.08 scott> scott>select * from clob_dummy; COLA -------------------------------------------------------------------------------- Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjd bs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh shgghsga wshkwlsgs dklghlahgkh lahgkas lhks kglaks gksh a ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhldkhkhdkhkdhkdhkdkhklh kddkhdkhdkl djhlkdkhdhkshlkd dkhdkhldsjhkslhjd eutywe 398863694 i230e ehgd ehgle gighsihdlk eltiweytilhdhgehgisehbkd Elapsed: 00:00:00.11 scott> scott> ----- Still it is breaking the line after 80 characters.
But when I changed the varchar2 data type, it is good way.
May I know what is the reason? Then I fixed using the clob data type? Or will I have to change to varchar2? Because, I need only single record line (any size is - this - but of course oracle time) when I wrap the output to a file.
Please share your thoughts with me.
Thank you.It may be related to longchunksize SQL layout * more. Have you tried a similar to your set linesize value assignment:
set longc 2000
It can also be bound to the version of SQL * more you use. I notice some differences between sqlplus (command line version) and sqlplusw (the windows gui version)
-
Problems with output TV satellite a50 492
Hello
I have a new a50-492 and everything works fine, everything except Tv-out :(
i've got BIOS type PAL, my cable TV and tv-ports are not violated, I'm sure that it works fine on my desktop pc.
I thought I was a BIOS problem and I upgraded from 1.20 to 1.30 but nothing :( I have no screen at all on tv :( I only see a small flash on the television screen when the laptop starts. Normally, it should show the typical home Toshiba screen on the bios, but nothing happens :(
Could someone help me?
Do not hesitate to write even on email - [email protected]
Thanks a lot!Hello
Your model has a S-VHS connector, better and easier to get color tv (but no sound) is to use a dongle inbetween the SCART and S-VHS cable, the dongle must be a computer--> SVHS--> SVHS<->RGB--> SCART-> TV,.
As I mentioned you won't have any sound, but this can be picked up from the computer with a separate cable. Not worthy, I also have experience of PAL systems on the point above.
BR
-> -
Satellite L850-147 - Audio problem with output jack and balance
Hi all
When I plug in my headset on my laptop (Satellite L850-147) and try to listen to music, I hear music (instrumental parts)... by far, I can hear the voice of the singer.
I found a turnaround with the adjustment of balance in realtek HD audio manager 100% or 100% left...
But this isn't the way that music have to play...I have reinstalled the Realtek HD Audio Manager but without success...
Any idea?Thank you
Hello
And have you checked the settings in the software you use to play the sounds?
Of course the Realtek HD audio Manager supports the sound configurations and you can change different sound effects such as environment and Equalizer but the same or similar options are supported by each software reading and I also recommend to check this!By the way: Toshiba laptops are pre-installed with a HD Audio SRS Premium application. To access this, go to:
Start-> all programs-> SRS Lams-> SRS Premium Sound Technology
Here, you will also get some options that could be interesting for you.Also recommend checking Audio improve
Make a right click on the icon of speakers in the taskbar then on playback-> speakers devices->, click Properties
On the development tab, select the sound effect you want and click on apply. -
I am a new user of Labview, so it's a little intimidating. I am using a cDAQ-9188 with several modules but I have problems with one is the 9411 is used to measure the speed off the coast of a torque meter.
I joined the program I put in place. What I want to do is to measure the number of edges on a 3 second interval so that I can divide by the number of pulses/turn * 60 * 1/3 to receive the RPM. However, the number of edges behave linearly as I expected. I measured the speed of the shaft with a light strobe and represented graphically it vs the number of edges. The results are attached to the excel file.
What Miss me? The number of edges should not increase as speed up the tree, or I'm going about this all wrong and is not what I think I am?
Thanks in advance.
Ahh ok, that make more sense - it seemed like a strange to report a couple measured, way but now I understand that your torque sensor also rpm through this collection of speed option and that's what you ask the subject (I can't see not how pulses/turn the sensor is on the site Web of Honeywell however, do you know offhand?).
The software timing 3 seconds will implement much of the variability in your measure but would not explain the strong negative correlation between the RPM and the speed sensor (we're talking several ms of non-determinisme for a second window 3) output frequency. Finally, you'll want to solve this problem as well, but it is not your problem right now (as an aside - it would be actually more accurate to measure the frequency of the signal encoder using the 80 MHz as a reference time base and average the result on a second window 3, the general idea is sort explained in manual of 9188 here but I digress).
I think it is more likely that the signal from the speed sensor is a bit noisy (pretty typical of optical encoders) and then transitions the 9411 is picking up multiple edges. A slower RPM equals longer transitions and therefore more false edges. It is just a hunch, but that's what I can think of on the top of my head that could be causing what you see (if read number of pulses is higher than what you expect, given the pulses/turn of the sensor through all ranges of RPM that it would support my theory). If you want to ignore the method of measurement for a second and try to solve the problem of noise (assuming there is one), you can add the following property node to your existing code before you begin the task:
You can start by setting MinPulseWidth to 6.4us (which is one of the built-in clock dividers available for PFI filters on the 9188). You want the MinPulseWidth be short enough to ensure detection of a legitimate impulse, but long enough to block all wrong edges that occur during transitions.
Best regards
-
Problems with the digital input/output
Hello
I have a little problem with my card PCI-6143. I would use two connectors digital one as a starter and one as an output. Now, I have the problem that I do not know how I address them. The input works as I want but not the output.
As an example. I call my channel output on this name: Dev1/port0 / line0:0.
With this call, the application works very well. If I change the output channel to Dev1/port0 / line4:0 I get an error that the values can be read and 0 and 1 are valid values.
I hope that the call is right, I wrote that out of my head.My questions are. Is it correct to call a single digital channel with this name?
I'm not sure because I do not understand what these means 'line' and if I allocate really single channel or more.
The second question is, can someone give me an example of how I assign two digital channels (how to address them)?
I know it's maybe an easy question, but I can't seem to get it corrected.Hope someone can help me.
Best regards
The syntax that you use is intended to select several channels: the numbers are the initial and final channel in a subsequent channel list. Thus, written Dev1\port0\line0:4 means 5 lines are included in the read/write (FWIW written 4:0 has the same effect). It is redundant but good writing line0:0, which means a single line, but you can write to Dev1\port0\line0 which is simpler.
This is a help page on this topic.
-
Problem with the number of lines in the channel
Dear community LabView,
I'm relatively new to labview and I came across a problem that (I assume) can easily be resolved with your help.
I need to create a digital signal to trigger a camera, but I have a problem with the configuration of my lines or exit lanes. I would not use that line output to trigger the camera. (I use a card NI PCIe-6353). LabVIEW is telling me that the number of lines in the channel does not have the number of rows of data:
Possible reasons:
Specified read or write operation failed because the number of rows in the data of a string is not the lines in the channel.
If you use the digital waveform data type, make sure that the number of lines in the digital waveforms is the number of lines in the channel. If you are using Boolean data, make sure that the dimension of the array for the rows of the data is the number of lines in the channel.
Number of lines in the channel: 1
Number of data lines: 2Task name: _unnamedTask<11>
How and why the number of data rows is connected to the resolution of my analog digital converter?
I would appreciate your help! Labview code and a screenshot attached.
Thank you
Beff
I got it to work by changing the "data format" "binary not signed" OR by plugging is not the "offset" for the Square Wave VI. I think that the default "offset binary" data format works correctly if there is a negative value.
11> -
Strange problem with analog simultaneous output / input
I use a card PCI-6221. I have an application which generates 2 waveforms (finished samples) and simultaneously records 4 channels of analog input. I am using the sample clock AO as the sample for the analog clock.
As a test, I plugged in the first AO (AO0) all 4 channel inputs. What happens when I run the vi, it's that the first sample on the first string (AI0) has the value of the last sample that was out on AO0, of the previous generation.
Example:
AI0 AI1 AI2 AI3
-0.369-0,001-0,001-0,001
-0.001 0.062 0.062 0.062
0.062 0,124 0,124 0,124
etc.
I understand that it is a problem with the relative time of update of the AO and sampling of IT.
He has to go: AI0 read / write AO0 / read AI1 / read AI2 / read AI3.
I use DAQmx Timing (sample clock) to specify the clock AO as the sample for the AI clock. I noticed that this has an advantage of input terminal called assets. Ah, I thought - if I put the active side to neutralize the AI always begins sampling half a clock cycle after the OD has updated. Evil. It makes absolutely no difference. Maybe the AO clock signal is a very short pulse?
Is there a way to specify the order in which updated inputs and outputs analog / sample?
Hi CDancer,
Change analog output voltage is not instantaneous. It depends on the speed of scanning of the Council with the difference the tension of the previous.
You're right that the AO sample clock is a very short pulse. As far as I remember, it is the order of 50 ns.
Here are two ways to insert a break between the tasks of HAVE and AO:
- Delay the first conversion of IA (AI0) regarding the sample clock HAVE: use DAQmx calendar > more > converted > sample clock delay > Delay and DelayUnits properties.
- Delay the sample clock HAVE first with regard to the relaxation of beginning of AI: use the DAQmx > start > more > Delay and DelayUnits properties.
Brad
-
Serious cutting problem with HDMI HD output a7s
I am a filmmaker from THE base and possess an a7s & package Odyssey 7 q + recorder camera.
I just noticed a serious technical problem that must be addressed. When shooting video with the A7s, the component of luminance of the HD which are sent via HDMI signals are cut to 100IRE, no matter what profile picture gamma setting is chosen. I can see it in the waveform, the chrominance information is not cut exceed 100IRE. For example, when I turn the curve of gamma slog2, exposed blue sky just before clipping has kept above blue channel 100IRE, but more balanced information clip of signals (such as a piece of white paper).
This problem does not appear in the output HDMI 4 K or record XAVC-S internal. It is true both of these formats. It is specific to flow out of the HDMI port uncompressed HD video. I'm sure that it is a firmware issue.
This conclusion came after I noticed it during a shoot and have led to extensive testing. I would prefer a real difficulty as opposed to workaround, because it cut a stop of information from the latitude to highlight whenever I have to shoot 60 p or don't want to shoot 4 K.
Apparently, it's a problem with the recorder of Odyssey is not correctly interpret the sony exposure output scaling. Convergent Design is working on a fix to include with their next update of the firmware. I see this problem on Shogun I tested.
-
Problem with XServe and XServe RAID via Fibre Channel
Hello everyone,
I have a problem with my blended Xserve RAID.
I see in RAID-Admin and configure it successfully (via Ethernet). Connect with our Xserve via Fibre Channel, but the XServe and XServe RAID do not detect each other.
The fiber on the Xserve channel LEDs are white on the Xserve RAID completely off and permanent.
RAID-Admin status of Fibre Channel: 'No connection (1 table)' with a red square.
If I try to open the utility of fiber channel I get the message: "card Fibre Channel is not found." Utility disk OS X can't, too.
I changed the card connector cable, and made several reboots. But each time the same thing: they do not detect each other.
Xserve (2009):
-2.26 GHz Quad-Core Intel Xeon 5500
-Map of Apple dual-channel 4 Gb Fibre Channel (LSI7204EP)
XServe RAID:
-RAID 5 in an array (only on the left with 5 x 500 GB)
-1.5.1 Firmware
-Cable Apple 4 Gb SFP - SFP
Thanks for your help and sorry for my bad English!
Hi Mpm-Mainz,
Check if you have enabled LUN masking. To be able to see, you will need to download raid admin 1.5 not the 1.5.1
Have you also tried to use the other controller? Even if there is no disc in there, then it should appear in the preferences of fiber card system.
Thank you
Owen -
Strange sound problem with Satellite L740 TV outputs
I'm having a strange problem here... I googled this several times already, and I only found the same solution mentioned several times and the given solution * not * work is to me.
I have a Toshiba Satellite L740 running Windows 7 Home Edition Premium, with a 64-bit Intel Core i5 - 2410M @ 2.30 GHz CPU and 4 GB of physical RAM. My problem is the following...
There are two different TVs in my house that I regularly connect my laptop via HDMI cable.
The first is mine, and I can get sound through the TV very well when I plug it in.Sometimes, however, I will disconnect the computer from my TV and not get any sound through the laptop because he's trying to output to external speakers to TV.
More importantly, when I connect my laptop to my * roommate * TV (the same make as mine, you mind), I can not all the sounds of his TV at all.
This is a recent problem. Until this morning, I was able to get noise from two TV very well and only sometimes had problems with sound through the laptop itself, which has been easily resolved by restarting.
It's just a hunch, but it's almost like * doesn't realize that there are two different TVs * that it is connected to my computer. Maybe it's stupid, I don't know, but be it, it's frustrating...
* ALSO: * I've seen dozens of suggestions that I put my HDMI audio as default device. Yes, I did. It wasn't the issue. Is the same to activate my audio drivers in Device Manager. They are all turned on, so it's not that either. Any ideas?
It's a bit strange if you connect the laptop to two identical televisions and use the same HDMI cable to the TV.
Unfortunately, it all works automatically and I put t know if you can force your laptop to recognize two TVs on the same path.
In the worst case you have to do it manually in the sound properties > playback devices.
If it works with four mouse clicks you can change.I tested my laptop with two different TVs.
At home, I have a Toshiba TV and at the office we use Sony. On both automatically get sound on the TV speakers.If you will be able to find the solution please let us know.
-
Hello dear!
I have the following topology:
Cisco 3845 gi0/0 - switch Foundry - fa0/0 Cisco 7206VXR
CISCO 3845 *.
interface GigabitEthernet0/0
IP 192.168.80.90 255.255.255.128
no ip proxy-arp
IP accounting output-packets
full duplex
Speed 100
media type rj45
standby 2 ip 192.168.80.89
standby priority 2 130
LAN service-policy inputCISCO 7206 *.
interface FastEthernet0/0
IP 192.168.80.91 255.255.255.128
no ip proxy-arp
Summary-address eigrp 100 IP 172.31.255.0 255.255.255.0 5
full duplex
Speed 100
No cdp enable
standby 2 ip 192.168.80.89
standby priority 2 150
2 standby preempt delay minimum 60
standby 2 track Serial6/0 80
LAN service-policy inputThis devices run HSRP, but I been out following diagnosis in two routers using 'show Eve '.
See the day before
Cisco 3845 *.
FastEthernet0/0 - group 2
The State is active
2 state changes, last state change 5w6d
Virtual IP address is 192.168.80.89
Active virtual MAC address is 0000.0c07.ac02
Local virtual MAC address is 0000.0c07.ac02 (the default value of the v1)
Hello time 3 sec, hold time 10 sec
Next Hello sent to 1.488 seconds
Enabled, preemption delay dry 60 min
Active router is local
Standby router is unknown?
Priority 150 (150 configured)
Follow the State of Serial6/0 interface Up decrement 80
The name of IP redundancy is 'hsrp-Fa0/0-2' (default)See the day before
Cisco 7206VXR *.
GigabitEthernet0/0 - group 2
The State is Init (interface to the bottom)
Virtual IP address is 192.168.80.89
Active virtual MAC address is unknown
Local virtual MAC address is 0000.0c07.ac02 (the default value of the v1)
Hello time 3 sec, hold time 10 sec
Pre-emption turned off
Active router is unknown?
Standby router is unknown?
Priority 130 (130 configured)
The group name is "hsrp-Gi0/0-2" (default)I can ping to both devices using the virtual ip address.
The work around to solve the lines ' active router is unknown and standby router is unknown "are remove the hsrp configuration in the watch system, after the issue is resolved, but came on after a few days.
The problem is that I have not access to the Foundry switch but I think that HSRP configuration have no problem, even in the buffer, I did not see any problem with HSRP.Someone have similar problem or any idea?
Thank you more
Hello
I would try
(a) using HSRP worm 2 (see http://www.cisco.com/en/US/docs/ios/ipapp/configuration/guide/ipapp_hsrp_ps6922_TSD_Products_Configuration_Guide_Chapter.html#wp1102891 )
(b) looks a little stange me have first refusal configured on a router only.
(c) there could be some problems with your multicasts to send/receive of Foundry switch used by HSRP?
HTH,
Milan
-
problem with the definition of a boolean as output parameter type
Hi, I have a problem with the definition of type boolean as output parameter and it must return true if the query procedure retrieves one line else it shouuld return false
Hi, I have a problem with the definition of type boolean as output parameter and it must return true if the query procedure retrieves one line else it shouuld return false
And what are the issues? Its simple.
SQL> create or replace procedure is_emp_exist 2 ( 3 p_empno in emp.empno%type 4 , p_result out boolean 5 ) 6 as 7 l_empno emp.empno%type; 8 begin 9 select empno into l_empno 10 from emp 11 where empno = p_empno; 12 13 p_result := true; 14 exception 15 when no_data_found then 16 p_result := false; 17 end; 18 / Procedure created. SQL> declare 2 l_result boolean; 3 begin 4 is_emp_exist (7788, l_result); 5 6 if l_result then 7 dbms_output.put_line('Employee Exist'); 8 else 9 dbms_output.put_line('Employee does not Exist'); 10 end if; 11 end; 12 / Employee Exist PL/SQL procedure successfully completed. SQL> declare 2 l_result boolean; 3 begin 4 is_emp_exist (1000, l_result); 5 6 if l_result then 7 dbms_output.put_line('Employee Exist'); 8 else 9 dbms_output.put_line('Employee does not Exist'); 10 end if; 11 end; 12 / Employee does not Exist PL/SQL procedure successfully completed. SQL>
Maybe you are looking for
-
Can't seem to find the 'store' button in iBooks. Help?
-
Although these keys to quick launch on this keyboard worked fine on this computer Windows XP, when I switched to Windows 7 64 bit, they started having this problem, but only with Firefox and Thunderbird. If I program these keys to open other programs
-
According to my info in Firefox I have Firefox 15.0.1 & it is up-to-date.I can no longer use Firefox with all my saved bookmarks and familiarity that Norton Security programs I got Comcast no longer work with Firefox. Whenever I use it, it says that
-
Hi all A complex project I have to implement an interface acquisition of material for a linear motion sensor using the output of the synchronous serial (SSI) commune in the control of the industrial movement. (I have a bit of experience in digital el
-
Java shows that I have an old version of Java installed. I can't see to find this version anywhere. I can't remove it, if I can't find it. I looked in the Control Panel, under Java and everywhere else I could think of. I removed something with th