aboutsummaryrefslogtreecommitdiff
path: root/pkg/vocl/_samp.cmds
blob: a6ebeabc36ea4980c3c7e00f9fe37f366ed884bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101


  cl> =sampDbg (ival)                 # explicitly set debug value
  cl> =sampDbg ()                     # toggle debug value


sampStatus:

  cl> =samStatus()			# print current SAMP connection status
  yes
  cl> =samStatus("on")			# enable SAMP messaging
  yes
  cl> =samStatus("off")			# disable SAMP messaging
  no
  cl> =samStatus("on")			# enable SAMP messaging
  yes
  cl> =samStatus("restart")		# restart SAMP messaging
  vocl.e(69352,0x7fff70f14cc0) malloc: *** error for object 0x101125350:
  incorrect checksum for freed object - object was probably modified after
  being freed.
  *** set a breakpoint in malloc_error_break to debug
  ERROR: abort

      or

  segmentation violation


sampAccess

  cl> =sampAccess("topcat")		# print whether named app is running
  no

sampName

  cl> =sampName()			# print current samp.name attribute
  IRAF
  cl> =sampName("foo1")			# set samp.name attribute
  foo1

sampMetadata

  cl> =sampMetadata ("samp.name")	# print a specific metadata attribute
  IRAF
  cl> =sampMetadata ("foo", "bar")	# set a new attribute
  ok

sampSend

sampHandler


------------------------------------------------------------------------------

sampLoadImage

  cl> =sampLoadImage (tblId, url, row, to)

sampLoadVOTable
sampLoadFITS
sampLoadSpec
sampLoadBibcode
sampLoadResource


sampShowRow

  cl> =sampShowRow (tblId, url, row, to)

sampSelectRows

  cl> =sampSelectRows (tblId, url, rows[], to)

sampPointAt

  cl> =sampPointAt (ra, dec, to)

sampCmdExec

  cl> =sampCmdExec ("imstat dev$pix")
  cl> =sampCmdExec ("imstat dev$pix", "iraf2")

sampEnvSet

  cl> =sampEnvSet ("foo", "bar")

sampEnvGet

  cl> =sampEnvGet ("foo")
  bar

sampParamSet

  cl> =sampParamSet ("imstat.images", "dev$pix")
  ok

sampParamGet

  cl> =sampParamGet ("imstat.images")
  dev$pix