HI, I'm having problems initializi​ng object for CNiFgen class.

Hello, I'm having problems initializing object for CNiFgen class, I declare a pointer *m_pFgen to the CNiFgen class, then m_pFgen = new CNiFgen(m_driver, true, true) and then it gives me an error message Primary Error: (Hex 0xBFFA000C) Invalid attribute.

Here is how to make a call to initialize a session to niFgen:
//Create a new session on the device
_session = new CNiFgen(m_resourcename);
Also. I'm attaching an example on how to generate standard waveforms with the class interface for Fgen.
Let me know if you have any other questions,
Jack Arnold
Applcation Engineer
National Instruments
Attachments:
niFgen_Function_Generator_Ex.zip ‏5569 KB

Similar Messages

  • I am having problems installing new software for my ipod i keep getting a message that the network has timed out.  I have tried two different computers and networks what else can I do?

    I am having problems installing new software for my ipod
    I keep getting a message that the network has timed out. 
    I have tried two different computers and networks what else can I do?

    Try temporarily disabling your firewall and anti virus software and try again...
    See here for Connection Issues
    http://support.apple.com/kb/TS1379
    From Here
    http://www.apple.com/support/itunes/troubleshooting/

  • Is anyone having problems downlaoding new update for window

    Is anyone having problems downlaoding new update for window

    You ought to be very pleased with that MacBook. 16 GB memory and a 512 GB SSD is a very robust configuration that should serve you well for many years.
    Mavericks runs extremely well on a MacBook Pro with a quarter that amount of memory.
    Since Mavericks is free it doesn't really matter if it or Mountain Lion is installed when you buy it. You really should purchase Macs from the Apple Store since they won't be any cheaper anywhere else, and that is the only way to buy one with absolute assurance it has not been misused or improperly stored.
    You can order a Mac configured with custom options on a Sunday evening and it can be on your desk that Wednesday morning. Shipping is free.
    I have no idea why anyone would by a Mac from anyone other than Apple, but they do. Complaints from those who buy Macs from "big box" resellers appear on this site in disproportionate numbers, for reasons that are not clear.

  • Create  object for a class in jar file

    Hi
    I am using Oracle JDeveloper 10g. I have created a main application using Swing/JClient technologies. I am facing a problem for the past one week. I let u all people know my problem and I kindly request you to send a solution if known possibly confirmed.
    Problem: I have created a main application using swing that class extends JFrame. This main application consists of two parts. One left side panel and one right side panel. Left side panel contains JTree component. Each item in that tree refers to a class file located in a separate jar file.i.e that acts as a separate application. If we are executing separately that jar file class, I am able to see that small application running. If I am selecting an item in JTree during runtime, I should place that small application from the respective jar file in the right side panel of the main application. I can locate the jar file and even I can create object to that particular class file. But I cannot execute the application even separately and also not able to place in the right side panel of the main application.
    Note: The small application from the jar file contains one class file containing main method. That class file extends JPanel and implements JUPanel. i.e., with data binding. I am trying to create an object for this class file with data binding from my main application. Navigation bar is used in the main class file.
    If possible can any provide me solution at the earliest. Waiting eagerly for the positive reply.
    Regards,
    s.senthilkumar

    Can you sure that there is only a A class in the classpath of Tomcat, I advise you to add
    some statements into the A class so that you can be sure which classloader is used
    to load the A class.

  • TestStand create different object for singleton class

    Hi all,
    we have a singleton class which has some functions used to do testing a harware.
    Our main Exe will create an object for that singleton class(which opens Com1 port and communicate with hardware). so the Exe will do basic communication test with hardware it is working well. We are using Teststand operator interface to do various testing by using sequence files. Main exe will use teststand usercontrols to execute tests when the user clicks Testbutton. after that, teststand try to create an object for that singleton but it returns new object not the existing one which is created by EXE. So it throwing me exeception "Com1 port access denied." (since we created object for signleton class @ very first in EXE)
    My question is Since that teststand runs in a separate Appdoamin will the singltonclass create separate object for different appdomain? if so is there any solution to reslove this?
    Hope i clearly explained my probs.
    Thanks in advance
    Srini 

    Hi Srini,
    How are you calling the executable?  From a Call Executable step?  Or are you using another means of calling it?   Also, why is TestStand trying to recreate the object?  As long as you have the correct handle to the object I don't think it matters what app domain you are in.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Maximum no'of Objects for one class

    Hello friends
    Please, tell me....Maximum no'of Obects for One Java class.
    Thanks & Regards
    S.Rajakrishna

    Is there any limit of creating the objects for One class?Instantiated objects go into the heap. There is only one heap for the whole JVM. There is no correlation between objects in the heap and the individual class files.
    100,000 objects may or may not fit into the heap. In general they probably will. If you don't, then yes, you'll get an Out Of Memory exception.
    Regardless there is no excuse for loading 100,000 objects just to render a JSP! You don't imagine your user is going read all of them do you? Restrict them to the number of objects that the user is actually going to be able to handle at any given time.
    You can do this by putting WHERE clauses on the hibernate query, and/or by setting limits (setFirstResult and setMaxResult) on the Query object before listing it.

  • I have been having problems with my FaceTime for the last few weeks. Up to then I was able to use it daily and then it suddenly stopped functioning. I have 4 friends in the same situation. Is there a problem centrally with Apple? Anyone else with problems

    I have been using FaceTime regularly over the past year or so and suddenly it has stopped working. It seems to dial up and says its connecting and then just switches off. I have a number of other friends who are also having problems with this and also on their iPhones. Does anyone have an answer to this problem?

    Make sure all parties are running IOS 7.1.1
    http://support.apple.com/kb/TS5419

  • I am currently having problems with my password for iphoto. If I delete my account will I lose my photos?

    I am currently having problems sending an email through Iphoto. It seems the fix is to delete my iphoto account and re-add it. If I do this, will I loose all my photos?
    Thanks.

    Not if you delete an e-mail account
    IMHO opinion the better option is to set Apple Mail as the e-mail client in the iPhoto preferences
    LN

  • Having problem with extra DDR2 for P45 Neo2

    Having problem with adding more DDR2 to my P45 Neo2. I currently have 2x hyperx 2gb ram installed, but I would like to take it up to 8gb. I had purchased another set, installed and pc wouldn't load. I installed these into another pc and they worked fine. What am I missing? I have tried googling but cannot find the solution to my question.According to MSI it will take DDR2 800/1066/1200. It does not mention what module name it takes eg pc 5300, which I'm quite sure are the ones installed. I have just updated the bios to the most recent should this help?

    Guessing you have all RAM related settings as "auto"?
    Does the PC work with your new set only?
    You may need to set the RAM timings&voltage manually in BIOS to common factors
    that are valid for both your new and old RAM kits.
    These settings you will do with your old kit in place, save in BIOS, exit and power down.
    Insert the new kit in addition, see if it POSTS. May take a few tests to succeed.
    CPU-Z program can help to figure some of the parameters.

  • Just purchased Wndows Vista and having problems with the port for Palm 125

    I just purchased a Windows Vista computer and having problems with getting my Palm 125 to sync with the desktop.  I get an error message saying:  "Com1 not available"  What do I do?
    Thanks,
    Frustrated
    Post relates to: Palm m125
    This question was solved.
    View Solution.

    Sorry, that didn't work.  I get no drop down menu from the Hot Sync Manager for the Serial Port.  What comes up often is:  "The selected port, COM1, is not available at this time.  Hot Sync Manager will open the port when it becomes available." 
    Could it be the Norton Antivirus Firewall that is preventing the Hot Sync Manager to open the Serial Port?  Just a thought.  Thanks for your help.
    Post relates to: Palm m125

  • HT204085 I AM HAVING PROBLEMS WITH MY PASSWORD FOR MY ICLOUD

    I am having problems with my password to sign into Itune and ICLOUD account I have a ticket  Number is 609987250 do I need two different password for the  accounts I mintion

    I have done this and keeps saying the same thing. I have even tried setting my account through Microsoft exchange but no luck

  • I'm having problems with thunderbolt adaptor for seagate 3tb external hdd. faults include drive disconnecting on its own etc

    im having problems with a new thunderbolt adaptor bought for seagate ext drive 3tb.
    It came with some software which i installed but the drive disconnects on its own etc.

    There is a whole lot of bad going on there.
    There are problems both drive errors and USB errors.  I don't believe it.
    I have a hunch the drive is starving for power. 
    USB devices are supposed to function all the way down to 4.25V.  Not all do.
    USB ports are supposed to be able to deliver 4.25V at the end of the cable at 500mA.  Not all do.
    USB 2.0 devices are not supposed to draw more than 100mA unless they negotiate for more.  Some violate that.
    USB 2.0 devices are never supposed to draw more than 500mA. Some violate that.  Especially disk drives.
    My guess is that your drive is drawing excess current and the voltage drop through the port and cable are dropping you below 4.25; or at least below the voltage that your drive goes "Tango Uniform"[1].   Does your drive have the option for external power?  If so try it.  Following up on wtx's comment;  USB 3.0 is capable of delivering more power.   Also, some drives have used a cable that violates just about every aspect of the USB specification:  A "Y" cable that plugs into two host ports to provide more power to the guest.  I despise this solution with every fiber of my electrical engineering existence; never-the-less, you might try one.
    edit:  [1] Teats Up.
    Last edited by ewaller (2015-04-04 17:02:04)

  • Getting the objects for a class

    I am able to get all live classes of a dynpro by using method cl_gui_cfw=>get_living_dynpro_controls. (Also thanks to this forum).
    The resulting table has a reference to a class like ...
    How do I use this reference to:
    1. Get the objects for it?
    2. How can I then free the object from memory by using the "free" method.
    I guess I am asking how to dynamically assign it, then make sure it has a free method and then to use the method to actually free it.

    Hello Uwe
    My first reaction was "NO it cannot be that easy!!". It almost was but on the second line I get a short dump. Then I realised why: the other live control in the table was a sub class of the first class and as a result it was cleared on the first call.
    So I modified the call to be a recursive call (of the form) as follows...
    form clear_live_controls .
    DATA:
      gt_list       TYPE cnto_control_list,
      gt_wa like line of gt_list.
      REFRESH: gt_list.
      CALL METHOD cl_gui_cfw=>get_living_dynpro_controls
        IMPORTING
          control_list = gt_list.
      describe table gt_list lines tab_lines.
      if tab_lines = 0.
    *    Nothing
      else.
         loop at gt_list into gt_wa.
           gt_wa->free( ).
           exit.
         endloop.
         perform clear_live_controls.
      endif.
    endform.                    " clear_live_controls
    This took care of it.
    Many thanks for your help.
    Regards

  • Allow to create, only two objects for a class

    Hi,
    This question is asked in my interview. In singleton concept only one object is created, likewise only two objects are created for a class.
    For that i have write a code like this,
    public class OnlyTwoObjects {
         private static OnlyTwoObjects a1;
         private static OnlyTwoObjects a2;
         public static int n = 0;
         public static OnlyTwoObjects getInstance() {
              if (a1 == null) {
                   a1 = new OnlyTwoObjects();
                   return a1;
              } else if (a2 == null) {
                   a2 = new OnlyTwoObjects();
                   return a2;
              } else if (n == 1) {
                   return a1;
              } else if (n == 2) {
                   return a2;
              return null;
    } But they told this is not good way to do this.
    I don't know how to do this, if any body knows kindly let me know.

    vijay wrote:
    But i will explain my code, in that code we are allowed to create only two objects, Maximum. Understood.
    suppose both objects are created, then i will ask which object you need first or second, this is decided using the variable n if it is 1 then it will return the first object and it is 2 it will return the second object. sorry i didn't explain this in my previous post.This is your approach. Is this the requirement as well? Is it necessary that the user decide on which instance (first or second) is returned?Even if it was the requirement that the user decides which instance (first or second) is returned, with the original proposed implementation, the user only gets to decide which instance after calling getInstance() twice. If he calls getInstance() with n=2 when a1 is still null, he still gets a1. If he calls getInstance with n=1 when a2 is still null but a1 is non-null, then he gets a2. As is, he always gets a1 on the first call, a2 on the second call, and after that gets null unless he has set n to 1 or 2. (This explanation ignores any multi-threading issues that may come into play. This explanation is for a single thread.)

  • POWL- Create object for feeder class not found

    Hi,
    I have developed a Webdynpro application and tried to integrate to POWL, but the application dumps saying cretae object of feeder class is not found.
    I am new to POWL, can anybody help me in this regard.
    Thanks,
    Shailaja Ainala.

    - in se80 you need this kind of code
        AUTHORITY-CHECK OBJECT 'Z:CPRO_RAP'
        ID 'ZZ_MARKDIV_test' FIELD record-string+0(3)
        ID 'ACTVT'      FIELD '02'.                                         "change access
        IF sy-subrc <> 0.
          AUTHORITY-CHECK OBJECT 'Z:CPRO_RAP'
          ID 'ZZ_MARKDIV_test' FIELD record-string+0(3)
          ID 'ACTVT'      FIELD '03'.                                      "read only access
          IF sy-subrc = 0.
            is_allowed = abap_true.
          ENDIF.
        ELSE.
          is_allowed = abap_true.
        ENDIF.
    security team should setup the POWL
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/44/36ca0563df660ee10000000a1553f6/content.htm
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/42/d6652b755c1630e10000000a1553f7/content.htm
    so if you see the code above there is a ID and filed associated with each object.

Maybe you are looking for